in reply to
Re: system sub routine with windows7
in thread system sub routine with windows7
Your example doesn't match mine exactly. Try:
my @args = ("glomosim", "data.in");
system(@args) == 0 or die "system @args failed: \n syscode:$? \n error
ensure the location of glomosim is in your system PATH variable, or provide full paths to both the program and the input file. Also, you replied to yourself rather than anyone else. See the links I provided earlier.