Skip to content

Conversation

jpf91
Copy link
Contributor

@jpf91 jpf91 commented Mar 11, 2012

Using std.process.shell produces this error:

std/stdio.d(419): Could not close pipe `./a.out' (Success)

The return value check has to check for != -1, not == 0, see http://linux.die.net/man/3/pclose

braddr added a commit that referenced this pull request Mar 11, 2012
std.stdio: Need to check ret != -1, not ret == 0
@braddr braddr merged commit bc13258 into dlang:master Mar 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants