Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: system call not working

by chip (Curate)
on May 12, 2004 at 16:58 UTC ( #352837=note: print w/replies, xml ) Need Help??

in reply to system call not working

"The path to the program is also definately in my .bashrc file"? What do you mean? And more to the point, why should that matter? After all, .bashrc is only sourced for interactive shells, and even if your system() call were using a shell, it wouldn't be an interactive one.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: system call not working
by Anonymous Monk on May 12, 2004 at 19:53 UTC
    But if you always run your Perl script from an interactive shell, then it inherits those environment variables.
      You're assuming that environment variables are involved. Maybe it's a shell alias.

          -- Chip Salzenberg, Free-Floating Agent of Chaos

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://352837]
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-07-27 19:27 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (421 votes). Check out past polls.