Skip to content

Commit

Permalink
Always handle proc exec arguments verbatim on Windows
Browse files Browse the repository at this point in the history
Together with a change in rakudo this fixes Raku/problem-solving#20.
  • Loading branch information
PatZim committed Jun 5, 2020
1 parent 7757469 commit ee8f3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/procops.c
Expand Up @@ -749,7 +749,7 @@ static void spawn_setup(MVMThreadContext *tc, uv_loop_t *loop, MVMObject *async_
process_options.file = si->prog;
process_options.args = si->args;
process_options.cwd = si->cwd;
process_options.flags = UV_PROCESS_WINDOWS_HIDE;
process_options.flags = UV_PROCESS_WINDOWS_HIDE | UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS;
process_options.env = si->env;
process_options.stdio_count = 3;
process_options.exit_cb = async_spawn_on_exit;
Expand Down

0 comments on commit ee8f3af

Please sign in to comment.