This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
changing the working directory from a c program
- From: Wade Brainerd <wadeb at wadeb dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 2 Mar 2002 02:26:49 -0800
- Subject: changing the working directory from a c program
- Organization: Treyarch Inc
- Reply-to: Wade Brainerd <wadeb at wadeb dot com>
Hi all,
I'm aware that this is a troublesome issue and hard to do on all
platorms (Win32, various Unix's) but I'm asking anyway :)
Under Cygwin, is there any way for a C program to change the current
working directory of the shell that executed it? My best bet so far
is to wrap the C program in a script.
Thanks,
Wade Brainerd
www.wadeb.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/