On Fri, 2009-01-09 at 08:00 -0800, floppyformattingfrenzy wrote: > Is there any way to change the directory when the process expires? This would > be something akin to what the program cd does.
`cd' isn't a program, it's a shell builtin. (It needs to be, as the chdir(2) system call only effects the current process and subsequently created child processes, not the parent process or previously created child processes.) > I know there's way so setting > the directory of the process and a way of setting environment variables, but > these seem to reset after the program expires. That's why -- the changes only effect the current process. > I would look this up, but I > honestly have no idea what to search; I've tried searching variations of > change directory and persist, but I came up with nothing. Advanced Programming in the Unix Environment[0] covers this. - Jon [0] http://www.amazon.com/Programming-Environment-Addison-Wesley-Professional-Computing/dp/0321525949/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1232133327&sr=8-1 _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
