in reply to Re^3: system sub routine with windows7
in thread system sub routine with windows7
A couple of things:
my @args = ("c:/glomosim/bin/","data.in");
Here you provoide a directory, but not the name of the executable you want to call. Also if you have the data.in file within the bin directory you'll need to do:
my @args = ("c:\\glomosim\\bin\\glomosim.exe","c:\\glomosim\\bin\\data +.in");
Note that in both occasions I provide the full path to the file, and use \\ rather than / as the path separator. As a piece of general advice, the easiest way to get help with errors is to post the erros along with the code which generates them. How do I post a question effectively? has some great advice on posting. Let me know if you have further problems
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: system sub routine with windows7
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 |