MorphOS Developer
Posts: 1049 from 2004/9/23
Quote:
Sprocki wrote:
Why does the first Shell not get any of the PATH information? How can I change the Shell call to get access to all global settings?
The path of a new shell comes from its parent.
If e.g. An application is creating a new shell and the path is wrong, then
A) The application itself has no proper path
B) The application actively cuts down the path
As a path gets handled from parent to child it is also possible that your application got launched before the root shell, which is the shell with the path build in startup sequence, is complete.
Adding a path has only effect on the current shell and those opened from it.