in reply to Re^2: system sub routine with windows7
in thread system sub routine with windows7
I have put on the begining of .pl file :
I have a file with name (data.in) in the path (C:\glomosim\bin) which I want to execute it on cmd.exe using the command (glomosim data.in) where "glomosim" is a keyword to execute the file (glomosim is a NW simualtor). So I write the following :use strict; use warnings; ......
then many errors appear :( ! Plz I need a help really!my @args = ("c:/glomosim/bin/","data.in"); system(@args) == 0 or die "system @args failed: \n syscode +:$? \n error:$! \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: system sub routine with windows7
by marto (Cardinal) on Jun 28, 2013 at 13:07 UTC | |
by Njoud (Initiate) on Jun 28, 2013 at 18:39 UTC | |
by marto (Cardinal) on Jun 28, 2013 at 19:36 UTC | |
by Njoud (Initiate) on Jun 28, 2013 at 20:30 UTC |