aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorCalvin Rose <crose@gmail.com>2021-02-14 14:34:52 -0600
committerCalvin Rose <crose@gmail.com>2021-02-14 14:34:52 -0600
commit7e2c433abc64faa8ecc01f62d84dde1c7b20782b (patch)
tree2f2719b4bf6bd066810a4671f95747f148f3836d /src
parentChange behavior of empty env table passed to os/execute on windows. (diff)
Fix #636
Diffstat (limited to 'src')
-rw-r--r--src/core/os.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/os.c b/src/core/os.c
index 4368bcd7..a16d472d 100644
--- a/src/core/os.c
+++ b/src/core/os.c
@@ -941,7 +941,6 @@ static Janet os_execute_impl(int32_t argc, Janet *argv, int is_spawn) {
janet_unlock_environ();
}
- /* Wait for child */
os_execute_cleanup(envp, child_argv);
if (status) {
janet_panicf("%p: %s", argv[0], strerror(errno));