guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setenv on BSD platforms


From: Bruce Korb
Subject: setenv on BSD platforms
Date: Tue, 04 Feb 2003 19:14:39 -0800

Is the following a known problem for Guile on BSD-based systems?

I have a script that does this:

   (setenv "SHELL" "./program")

and then later in my C program I call getenv thus:

   char* pz = getenv( "SHELL" );

The result is "/bin/sh".  oops.  It does not work
that way on other platforms.  Just OS/X and FreeBSD.
(Haven't tried Open/Net BSD's yet, but I'll hazard a guess...)
Why might this be?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]