Re: "system" command failure

2001-09-12 Thread Robert Citek
Hello Tyler, A return value of 0 from a system call means that it ran successfully. Any other value means something went wrong. For example, this script: #!/usr/bin/perl -w use strict; my $system; $system = system("echo Hello, World"); print $system . "\n"; $system = system("grok

Re: "system" command failure

2001-09-12 Thread Maxim Berlin
Hello Tyler, Thursday, September 13, 2001, Tyler Cruickshank <[EMAIL PROTECTED]> wrote: TC> Hello. I am trying to use the system command to run a FORTRAN TC> program on my Solaris 5.7 system. In the code pasted below the TC> following system call: TC> system("chmod 777 /trinidad/uama

"system" command failure

2001-09-12 Thread Tyler Cruickshank
Hello. I am trying to use the system command to run a FORTRAN program on my Solaris 5.7 system. In the code pasted below the following system call: system("chmod 777 /trinidad/uamaero/inputConversions/Bin2Ascii/bin2asciiInputFile.in"); works just fine. When I actually try to run my FORTRAN