Ancestors

Toot

Written by Scott Chamberlain on 2025-01-13 at 20:03

TIL run a program w/o access to your env vars, what do you use?

env - /path/to/program

OR

env -i /path/to/program

=> More informations about this toot | More toots from sckottie@fosstodon.org

Descendants

Written by Nikita on 2025-01-13 at 20:18

@sckottie -i is the only valid option in POSIX. Per spec:

If the first argument is '-', the results are unspecified.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/env.html

=> More informations about this toot | More toots from kytta@fosstodon.org

Written by Scott Chamberlain on 2025-01-13 at 20:34

@kytta thanks!

=> More informations about this toot | More toots from sckottie@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113822834266269212
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
252.374453 milliseconds
Gemini-to-HTML Time
1.107755 milliseconds

This content has been proxied by September (3851b).