set-environment-variable
Lassi Kortela
(05 Dec 2019 00:18 UTC)
|
Re: set-environment-variable
John Cowan
(05 Dec 2019 19:48 UTC)
|
Re: set-environment-variable
hga@xxxxxx
(06 Dec 2019 00:29 UTC)
|
Re: set-environment-variable
Lassi Kortela
(06 Dec 2019 09:55 UTC)
|
Re: set-environment-variable
John Cowan
(06 Dec 2019 13:21 UTC)
|
Re: set-environment-variable
Lassi Kortela
(06 Dec 2019 13:53 UTC)
|
Re: set-environment-variable
John Cowan
(06 Dec 2019 17:51 UTC)
|
Re: set-environment-variable
Arthur A. Gleckler
(06 Dec 2019 18:45 UTC)
|
Re: set-environment-variable
Lassi Kortela
(06 Dec 2019 19:00 UTC)
|
Re: set-environment-variable
Lassi Kortela
(06 Dec 2019 20:41 UTC)
|
Re: set-environment-variable
hga@xxxxxx
(07 Dec 2019 15:07 UTC)
|
Re: set-environment-variable
Lassi Kortela
(07 Dec 2019 16:14 UTC)
|
Re: set-environment-variable
Lassi Kortela
(07 Dec 2019 16:23 UTC)
|
Re: set-environment-variable
hga@xxxxxx
(07 Dec 2019 16:30 UTC)
|
Re: set-environment-variable
John Cowan
(07 Dec 2019 17:31 UTC)
|
Re: set-environment-variable
Lassi Kortela
(07 Dec 2019 20:12 UTC)
|
Is set-environment-variable needed after all?
Lassi Kortela
(07 Dec 2019 20:15 UTC)
|
Re: Is set-environment-variable needed after all?
John Cowan
(07 Dec 2019 21:13 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(08 Dec 2019 19:36 UTC)
|
Re: Is set-environment-variable needed after all?
hga@xxxxxx
(08 Dec 2019 20:08 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(09 Dec 2019 11:00 UTC)
|
Re: Is set-environment-variable needed after all? Duy Nguyen (09 Dec 2019 03:51 UTC)
|
Re: Is set-environment-variable needed after all?
John Cowan
(09 Dec 2019 04:21 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(09 Dec 2019 10:39 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(09 Dec 2019 10:41 UTC)
|
Re: Is set-environment-variable needed after all?
Duy Nguyen
(09 Dec 2019 10:45 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(09 Dec 2019 10:49 UTC)
|
Re: Is set-environment-variable needed after all?
John Cowan
(09 Dec 2019 19:36 UTC)
|
Re: Is set-environment-variable needed after all?
Lassi Kortela
(09 Dec 2019 19:46 UTC)
|
On Sun, Dec 8, 2019 at 3:15 AM Lassi Kortela <xxxxxx@lassi.io> wrote: > > Would you recommend we drop `set-environment-variable!` and > `delete-environment-variable!` and simply provide an :environment > argument in the subprocess SRFI? That may be the best call. There's one case where setenv call may be more appropriate than :environment, although I'm not sure if it's enough to justify set-environment-variable! For programs like Git, it takes $GIT_DIR and needs to pass it down to all subprocess. The thing is this variable can contain relative path, so if you "cd" somewhere in the current process, then you need to adjust $GIT_DIR too or subprocess will fail to find the right ".git" directory. And it's less error prone to adjust the variable with setenv whenever you chdir instead of waiting until you spawn a new subprocess. -- Duy