Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: %ENV setting not exported to child process?

by olivierp (Hermit)
on Jan 13, 2006 at 15:31 UTC ( #523007=note: print w/replies, xml ) Need Help??

in reply to %ENV setting not exported to child process?

I may be completely wrong, but isn't FreeBSD's pthreads actually the same process, so the child is actually seeing the same %ENV as perl itself ?
  • Comment on Re: %ENV setting not exported to child process?

Replies are listed 'Best First'.
Re^2: %ENV setting not exported to child process?
by saintmike (Vicar) on Jan 13, 2006 at 18:31 UTC
    Well, but system() and `...` aren't running in a new thread, they're forking off a new process. How would that be related to the threading model?

    The only way I can see this happening is that perl doesn't use setenv() if a certain threading model is enabled, similar to what's been described here.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://523007]
[Discipulus]: choroba thanks but that sequence uses Unicode codepoint, not ascii number
[choroba]: ASCII is subset of unicode
[1nickt]: hi trippledubs, nice to see you again.
[1nickt]: karlgoethebier that would be "trying out" German that I remember from long ago!
1nickt used to be in a meatspace monastery, in EU, with lots of wanderers from all over the world ...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-12-13 13:06 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (366 votes). Check out past polls.