Re: system in Linux (was getenv in Linux)
- Posted by Irv Mullins <irv at ELLIJAY.COM> Sep 20, 1999
- 558 views
On Sun, 19 Sep 1999, you wrote:
> So the problem is actually with using system under Linux. Example:
> DOS: system("cd c:\\",2) -- current_dir() returns "c:\" after
> Linux: system("cd /",2) -- but current_dir() doesn't return "/" after
Correct. system("cd /",2) won't change the directory on my computer either.
In fact, sytem won't change directories _at all_ under Linux..
Rob?
Irv

