mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fixed typo in win32 child process pipe connection.
This commit is contained in:
parent
a15e4ac598
commit
bafdb41511
1 changed files with 3 additions and 3 deletions
|
|
@ -457,11 +457,11 @@ public:
|
|||
STARTUPINFOW startupInfo = { 0 };
|
||||
startupInfo.cb = sizeof (startupInfo);
|
||||
|
||||
startupInfo.hStdOutput = (streamFlags | wantStdOut) != 0 ? writePipe : 0;
|
||||
startupInfo.hStdError = (streamFlags | wantStdErr) != 0 ? writePipe : 0;
|
||||
startupInfo.hStdOutput = (streamFlags & wantStdOut) != 0 ? writePipe : 0;
|
||||
startupInfo.hStdError = (streamFlags & wantStdErr) != 0 ? writePipe : 0;
|
||||
startupInfo.dwFlags = STARTF_USESTDHANDLES;
|
||||
|
||||
ok = CreateProcess (nullptr, const_cast <LPWSTR> (command.toWideCharPointer()),
|
||||
ok = CreateProcess (nullptr, const_cast<LPWSTR> (command.toWideCharPointer()),
|
||||
nullptr, nullptr, TRUE, CREATE_NO_WINDOW | CREATE_UNICODE_ENVIRONMENT,
|
||||
nullptr, nullptr, &startupInfo, &processInfo) != FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue