2024-07-08 10:12:46 -04:00
|
|
|
.Dd $Mdocdate$
|
|
|
|
.Dt ENV-SHARE 1
|
2024-08-19 09:33:11 -04:00
|
|
|
.Os WSL
|
2024-07-08 10:12:46 -04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm env-share
|
|
|
|
.Nd share environment variables back to Windows from WSL
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm env-share
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2024-07-08 13:09:51 -04:00
|
|
|
utility writes environment variables to a file to be loaded by a companion script in the target process.
|
2024-07-08 10:12:46 -04:00
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Ev ENV_SHARE_FILE
|
|
|
|
The file to write variables to.
|
|
|
|
.It Ev ENV_SHARE_VARS
|
|
|
|
A colon-separated list of variables to copy.
|
|
|
|
.El
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It 1
|
|
|
|
An environment variable is unset.
|
|
|
|
.It 2
|
|
|
|
Failed to write to the file at
|
|
|
|
.Ev ENV_SHARE_FILE
|
|
|
|
.El
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
.An Valerie Wolfe Aq Mt sleeplessval@gmail.com
|