http://qs321.pair.com?node_id=352808


in reply to system call not working

Try using the full path to the procheck program. Your bash profile is not going to help you here.

Replies are listed 'Best First'.
Re: Re: system call not working
by Melanie (Acolyte) on May 12, 2004 at 15:56 UTC
    Hi there
    I did try the full path. No go Im afraid. But thanks for the thought :)
    Mel

      Please do the following:

      #!/usr/bin/perl $pdbfile = $ARGV[0]; print "path=$ENV{PATH}\n"; print "procheck $pdbfile 1.0\n"; #system("procheck $pdbfile 1.0");
      Does $pdbfile contain the value you expect?
      Does the path contain the location of procheck?
      Are there any spaces in the value of $pdbfile?