mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
Update for redirecting from subsystem:windows application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40054 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
99ab6e9a4e
commit
0f67bc7f81
1 changed files with 2 additions and 2 deletions
|
@ -2089,8 +2089,8 @@ description, [cmd stringByDeletingLastPathComponent]);
|
|||
|
||||
#if defined(__MINGW32__)
|
||||
NSTask *task = AUTORELEASE([NSTask new]);
|
||||
[task setStandardError:[NSFileHandle fileHandleForWritingAtPath:@"CON"]];
|
||||
[task setStandardOutput:[NSFileHandle fileHandleForWritingAtPath:@"CON"]];
|
||||
[task setStandardError:[NSFileHandle fileHandleForWritingAtPath:@"NUL"]];
|
||||
[task setStandardOutput:[NSFileHandle fileHandleForWritingAtPath:@"NUL"]];
|
||||
[task setLaunchPath:cmd];
|
||||
[task setArguments:args];
|
||||
[task launch];
|
||||
|
|
Loading…
Reference in a new issue