diff options
| author | Max Hilbrunner | 2018-05-30 15:00:10 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-30 15:00:10 +0200 |
| commit | 63b607257b9b84acd55e8a37097a9ad5ab0591db (patch) | |
| tree | bc8bea58b415ecf03bd10ff8bcf1339721abea7a /platform/windows/os_windows.cpp | |
| parent | fc7f931d26900f70ec19f91837d1715e1a301834 (diff) | |
| parent | f392650be2434aadad71af95a0b81a33900e84ec (diff) | |
| download | godot-63b607257b9b84acd55e8a37097a9ad5ab0591db.tar.gz godot-63b607257b9b84acd55e8a37097a9ad5ab0591db.tar.zst godot-63b607257b9b84acd55e8a37097a9ad5ab0591db.zip | |
Diffstat (limited to 'platform/windows/os_windows.cpp')
| -rw-r--r-- | platform/windows/os_windows.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index aef1b8a59..3e0c4a7c0 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -2209,10 +2209,6 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments, argss += String(" \"") + E->get() + "\""; } - //print_line("ARGS: "+argss); - //argss+"\""; - //argss+=" 2>nul"; - FILE *f = _wpopen(argss.c_str(), L"r"); ERR_FAIL_COND_V(!f, ERR_CANT_OPEN); @@ -2239,15 +2235,12 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments, I = I->next(); }; - //cmdline+="\""; - ProcessInfo pi; ZeroMemory(&pi.si, sizeof(pi.si)); pi.si.cb = sizeof(pi.si); ZeroMemory(&pi.pi, sizeof(pi.pi)); LPSTARTUPINFOW si_w = (LPSTARTUPINFOW)&pi.si; - print_line("running cmdline: " + cmdline); Vector<CharType> modstr; //windows wants to change this no idea why modstr.resize(cmdline.size()); for (int i = 0; i < cmdline.size(); i++) |
