Browse Source

CreateProcess can modify lpCommandLine (why???????)

default_compile_flags
vector-of-bool 5 years ago
parent
commit
79613c440e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dds/proc.win.cpp

+ 1
- 1
src/dds/proc.win.cpp View File

} // namespace } // namespace


proc_result dds::run_proc(const std::vector<std::string>& cmd) { proc_result dds::run_proc(const std::vector<std::string>& cmd) {
const auto cmd_str = quote_command(cmd);
auto cmd_str = quote_command(cmd);


::SECURITY_ATTRIBUTES security = {}; ::SECURITY_ATTRIBUTES security = {};
security.bInheritHandle = TRUE; security.bInheritHandle = TRUE;

Loading…
Cancel
Save