Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: system call not working

by pbeckingham (Parson)
on May 12, 2004 at 15:54 UTC ( [id://352808]=note: print w/replies, xml ) Need Help??

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 :)

      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?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://352808]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 04:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found