This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
version of exec. If you specify null for the envp and dir parameters it uses the calling processes environment and working directory. [ June 08, 2006: Message edited by: Joanne Neal ]
Joined: May 10, 2006
Thanks Joanne!!! A small doubt i have here. If in envp array I specify some variables that are application specific and not system variables i.e. envp is not null. In this case calling processes environment is not getting passed to called process implicitly. But if I pass the environment variables in envp then the child process is getting all the required environment variables.
Does this means that if envp contains some variables then the System environment is not passed implicitly?
Joined: Aug 05, 2005
I've never used the method myself but that's what I would expect to happen having read the Javadoc.