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. +in"); 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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: system sub routine with windows7
by marto (Cardinal) on Jun 28, 2013 at 19:36 UTC | |
by Njoud (Initiate) on Jun 28, 2013 at 20:30 UTC |