in reply to Re^4: system sub routine with windows7
in thread system sub routine with windows7
Thank you, you are really helpful.
But I do not want to run glomosim.exe , what I want is to run the command (glomosim data.in) on CMD.exe !
So I tried to write :
my @args = ("c:\\Windows\\System32\\cmd.exe","c:\\glomosim\\bin\\data.
system(@args) == 0 or die "system @args failed: \n syscode:$? \
+n error:$! \n";
but I get nothing !! Microsoft windows version ..... etc !
How I can pass a command (glomosim data.in) to cmd.exe ?
Thank you very much.