Skip to content

Commit 48057b5

Browse files
etiennebarriebyroot
andcommitted
args
Co-authored-by: Jean Boussier <[email protected]>
1 parent 8174b51 commit 48057b5

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
@@ -4631,7 +4631,8 @@ rb_posix_spawn(struct rb_execarg *eargp)
46314631
return -1;
46324632
}
46334633

4634-
pid = posix_spawn(&pid, abspath, NULL, NULL, NULL, NULL);
4634+
char **argv = ARGVSTR2ARGV(eargp->invoke.cmd.argv_str);
4635+
pid = posix_spawn(&pid, abspath, NULL, NULL, argv, NULL);
46354636

46364637
return (rb_pid_t)pid;
46374638
}

0 commit comments

Comments
 (0)