Skip to content

Commit

Permalink
Update processes.cpp
Browse files Browse the repository at this point in the history
果然不能在 GitHub Web 上改代码,各种问题
  • Loading branch information
Connection Refused authored Jan 26, 2020
1 parent 39a6393 commit 38c8d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ bool runProgram(std::string command, std::string runpath, bool wait)
posix_spawn_file_actions_addclose(&file_actions, STDERR_FILENO);
posix_spawn(&hProc, "/bin/sh", &file_actions, NULL, const_cast<char* const*>(cargs), NULL);
*/
command = command + " > /dev/null 2>&1"
command = command + " > /dev/null 2>&1";
pPipe = popen(command.data(), "r");
chdir(curdir);
return true;
Expand Down

0 comments on commit 38c8d7f

Please sign in to comment.