[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re : Parent process
- Subject: Re : Parent process
- From: Vimal Mathew <m_vimal@xxxxxxxxxxx>
- Date: Tue, 06 Jul 1999 02:23:47 PDT
Hi,
Lokesh Setia wrote :
>Here `mc' was able to change the current working directory (cwd) of
>the parent process(bash). Can anybody explain this strange behaviour.
If you type
# type mc
you will notice that is a bash-function which calls /usr/bin/mc with
the "-P" option sending the last working directory to a variable
MC. Then, this function changes the current working directory to that.
Since the directory change is done by a bash function and not by the
/usr/bin/mc child process, there is nothing strange about it.
Bye,
Vimal
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
------------------------------