Date: Tue, 13 Aug 1996 08:58:37 +0200 (IST) From: Eli Zaretskii To: Nissim Chudnoff Cc: DJGPP Questions Subject: Re: more spawnl( In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 12 Aug 1996, Nissim Chudnoff wrote: > On Sun, 4 Aug 1996, Eli Zaretskii wrote: > > Is the environment necessary? Also, is there anything that MUST go in it? > > char *environ[] = { > > "PATH=c:\\dos;c:\\djgpp;c:\\usr\\local\\bin", > > "DJGPP=c:/djgpp", > > 0 > > }; You should only set the environment if you have a reason. Otherwise, use the functions that pass the default environment (those which don't have an `e' at the end of their name).