Skip to content

Commit cd5656d

Browse files
committed
fix crashing on mac os due to invalid stderror handle
1 parent c53f02b commit cd5656d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/backends/darwin.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ void hideDockIcon(bool shouldHide) {
3030

3131
NSPipe *pipe = [NSPipe pipe];
3232
task.standardOutput = pipe;
33+
task.standardError = [NSPipe pipe];
3334
[task launch];
3435

3536
NSData *data = [[pipe fileHandleForReading] readDataToEndOfFile];

0 commit comments

Comments
 (0)