Hello,
in root, there are the methods TSystem::Exec() and TSystem::GetFromPipe which have the same behaviour for the following issue :
if one does in unix :
a=3
echo $a
it works
but in root :
if ones does :
gSystem->Exec("b=3);
gSystem->Exec("echo $b")
it will "forget" the b
only this works :
gSystem->Exec("c=3;echo $c")
==>
is there a way to have the memory of the variables for several
gSystem->Exec() commands ?
(in order to do some instructions ones, and some others inside a loop)
(i tried also with export, but it doesn't help)
thanks Received on Wed Mar 09 2011 - 11:56:04 CET
This archive was generated by hypermail 2.2.0 : Wed Mar 09 2011 - 17:50:01 CET