[Boost-bugs] [Boost C++ Libraries] #1577: Some commands don't work because hStdInput == 0

Subject: [Boost-bugs] [Boost C++ Libraries] #1577: Some commands don't work because hStdInput == 0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-18 10:43:57


#1577: Some commands don't work because hStdInput == 0
---------------------------------------------------------------+------------
 Reporter: Takeshi Mouri <takeshi.mouri.net_at_[hidden]> | Owner: grafik
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: bjam
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
---------------------------------------------------------------+------------
 The function execcmd() zero-initializes STARTUPINFO in exent.c at
 changeset:38009.
 But HANDLE value 0 is not equal to INVALID_HANDLE_VALUE.
 So the member hStdInput points an unknown object.
 In this case, some shell commands such as "echo" fail.


 Please add the following codes:
 {{{
         /* disable stdin */
         si.hStdInput = INVALID_HANDLE_VALUE;
 }}}
 or
 {{{
         /* inherit stdin */
         si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1577>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC