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.
In reply to Re^5: system sub routine with windows7
by Njoud
in thread system sub routine with windows7
by Njoud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |