X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Funix%2Fprocess.cpp;h=99be2e1d75a592a87a07e926439add7a4a5bec17;hb=292aed8e23ea543b089d5f2a73000de4640befe7;hp=76141b0360a56de7ed150878430f4a6848a26279;hpb=ea60f3548d4769c356b796cb27cd690cdfe4b6d9;p=libs%2Fcore.git diff --git a/source/core/unix/process.cpp b/source/core/unix/process.cpp index 76141b0..99be2e1 100644 --- a/source/core/unix/process.cpp +++ b/source/core/unix/process.cpp @@ -39,6 +39,7 @@ void Process::execute(const string &command, bool path_search, const Arguments & if(redirect) { + // dup2 clears O_CLOEXEC if(cin) IO::cin.redirect(*cin); if(cout)