[Tutor] Struggling with os.exec

Alan Gauld alan.gauld@blueyonder.co.uk
Wed May 21 15:00:03 2003


> has a bash (2.03) shell so this is essentially a "posix" question
and "cd"
> is obviously a built-in command. Is it still possible to call "cd"
from
> within Python?

You might need to do "bash -c 'cd /foo/bar'" or somesuch instead.

Just a guess, so probably wrong! :-/

Alan G