Re: system in Linux (was getenv in Linux)

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu