Skip to content

Commit 5894cc6

Browse files
etiennebarriebyroot
andcommitted
args
Co-authored-by: Jean Boussier <[email protected]>
1 parent 7c71826 commit 5894cc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

process.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4633,7 +4633,8 @@ rb_posix_spawn(struct rb_execarg *eargp)
46334633
return -1;
46344634
}
46354635

4636-
pid = posix_spawn(&pid, abspath, NULL, NULL, NULL, NULL);
4636+
char **argv = ARGVSTR2ARGV(eargp->invoke.cmd.argv_str);
4637+
pid = posix_spawn(&pid, abspath, NULL, NULL, argv, NULL);
46374638

46384639
return (rb_pid_t)pid;
46394640
}

0 commit comments

Comments
 (0)