Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: system command with arguments Error

by Old_Gray_Bear (Bishop)
on Jan 07, 2013 at 18:00 UTC ( #1012075=note: print w/ replies, xml ) Need Help??

in reply to system command with arguments Error

It appears that you are not in the folder that you think you are when the system() is executed. Please post a small, self-contained example of the code you are using. and we can go from there.

I Go Back to Sleep, Now.


Comment on Re: system command with arguments Error
Download Code
Replies are listed 'Best First'.
Re^2: system command with arguments Error
by ansh batra (Friar) on Jan 07, 2013 at 18:22 UTC

    they are in the same directory. i have checked it .
    and my code is running fine but when it reaches system("perl .......")==0 or die "cant run!!";
    it outputs cant run!!

      There's a less-baudlerized version of this statement:
      You can't just make stuff up and expect Perl to understand.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-12-01 01:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (791 votes), past polls