Skip to content

Commit

Permalink
try breaking it first
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Jun 20, 2024
1 parent 6d42240 commit ef3d5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ static obj_res spawn(string_ref const & proc_name, array_ref<string_ref> const &
std::string program = proc_name.to_std_string();

// Always escape program in cmdline, in case it contains spaces
std::string command = "\"";
//std::string command = "\"";
command += program;
command += "\"";
//command += "\"";

// This needs some thought, on Windows we must pass a command string
// which is a valid command, that is a fully assembled command to be executed.
Expand Down

0 comments on commit ef3d5be

Please sign in to comment.