I am having a problem with some Cygwin compiled programs and am hoping for some advice. I have a menu program which is started from the Desktop by its icon. In this menu program, I modify the environment for any child programs that it launches. This works great until the child program launches a child of its own.

In the child code, I use execvp to do the launch; however, I don't believe the child process (grandchild to menu program) is getting the enviroment variables copied from the parent (child of menu program).

Does this seem like a bug?  Is there a better way to do what I am doing?

I can make the grandchild work if I put the environment variables in the Control Panel->System->Advanced->Environment Variables.

I hope this makes sense and thanks in advance for any advice!

Joey


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to