Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: exec not working?

by GrandFather (Sage)
on Jan 30, 2012 at 04:07 UTC ( #950694=note: print w/ replies, xml ) Need Help??

in reply to Re^2: exec not working?
in thread exec not working?

Did you close and restart whatever "session" you were running your scripts from following the Perl install and include path change? The session's version of the include path wouldn't be affected by any changes made outside the session or any changes made in child sessions.

True laziness is hard work

Comment on Re^3: exec not working?
Replies are listed 'Best First'.
Re^4: exec not working?
by UVB (Acolyte) on Jan 31, 2012 at 02:57 UTC
    Yes - definitely. After some experimentation - and with careful changes to path environment - checking that path has been reloaded prior to running perl - I have found: v5.12.0 will work. v5.12.3 won't work. In both cases I am reasonably confident that there is only one perl.exe on the path at any one time. In both cases 'system' does work correctly with the same parameters as given to 'exec'. I am not saying there is a bug - just commenting on my experience in my installation. Thanks, Ross.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2016-02-13 17:59 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (442 votes), past polls