Jump to content

STDOUT_CHILD error


Recommended Posts

Hi!

I've got a little script, reads child's output with $STDOUT_CHILD.

Every time I start it with

Run($sExe, $sPath, "", $STDOUT_CHILD + $STDERR_CHILD)

it stops with the following message:

***** FATAL ERROR *****
CTextConsoleWin32::GetLine: !GetNumberOfConsoleInputEvents*** STOPPING SYSTEM ***

I've already tried these opt_flags: $STDIN_CHILD, $STDOUT_CHILD, $STDERR_MERGED, $STDIO_INHERIT_PARENT, $RUN_CREATE_NEW_CONSOLE

If always stops with the GetNumberOfConsoleInputEvents error, except when I use only the $RUN_CREATE_NEW_CONSOLE. But, if I use this, I can't get any output of the child.

Any idea?

Sorry for my bad english.

Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...