Looking for a TSystem example

From: Nicolas Arnaud <narnaud_at_lal.in2p3.fr>
Date: Tue, 20 Jun 2006 06:48:06 -0700


I'm looking for a short macro showing how to use the TSystem class to execute a system command (for instance |date| as a trivial example) inside a ROOT macro and to get the output of the command (not the status), for instance in an array of string/char.

Thanks in advance,

Nicolas Received on Tue Jun 20 2006 - 15:46:29 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:59 MET