delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/02/05:28:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 2 Mar 2002 02:26:49 -0800
From: Wade Brainerd <wadeb AT wadeb DOT com>
X-Mailer: The Bat! (v1.53d)
Reply-To: Wade Brainerd <wadeb AT wadeb DOT com>
Organization: Treyarch Inc
X-Priority: 3 (Normal)
Message-ID: <14493710187.20020302022649@wadeb.com>
To: cygwin AT cygwin DOT com
Subject: changing the working directory from a c program
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019