Hi,
System commands can be executed via, for example:
gSystem->Exec(“date”);
. The command will print the date on my screen. In a ROOT macro, how can I redirect the printout of the command to a string variable? Do not tell me I can use the class TDatime.
Thank you,
Zhiyi.