Re: Redirection

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Frank Hickman [MVP]" <fhickman_NOSP@xxxxxxxxxxxxxxx> wrote in message
news:OzDDefKQFHA.1932@xxxxxxxxxxxxxxxxxxxxxxx
> I don't understand what your really asking for here, at least not
entirely.
> Are you attempting to launch the mytype.exe with redirected standard
file
> handles so that mytype.exe opens the specified file and prints the
contents
> to stdout which is then captured by the parent process?
>
> --
> ============
> Frank Hickman
> Microsoft MVP
> NobleSoft, Inc.
> ============
> Replace the _nosp@m_ with @ to reply.

Exactly. However I also intend to use the SW_HIDE flag on the
child(console) process. so the user cann't even saw it.

In short if the child process don't ask for any input, i.e. it launched
by create process then flow all its output to STDOUT/STDERR(in this case
into the pipe) and terminates, there is no problem,but if its(child) ask
for the input in middle then all sort of trouble begins, how should I
handle that?

--
playwin


.



Relevant Pages

  • Re: Terminate A Long Running Method
    ... I need a way to signal the DoWork method that the ... So far the only solution I can come up with is to launch ... >> the method on its own seperate thread. ... If it needs to stop it can set a flag on the object ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ShellExecuteEx and Information about remote application
    ... I would use CreateProcess to launch the application ... Also when using CreateProcess you need to find out what application should be launched. ... I've experiences troubles when reading a value containing spaces, ... I didn't had troubles with the flag itself, but with the whole routine to display a file correctly using the default application. ...
    (microsoft.public.vb.winapi)
  • Re: gain/loss re: documentation by USCG ?
    ... can, of course, then launch a legal battle to have your rightful ... I've never seen them flag their big motoryachts in the US or Canada at the ...
    (rec.boats.cruising)
  • Re: Javascript in VB class
    ... "Anand Sagar" wrote in message ... > If flag = true the ... This VB.NET code will have been executed in response to a user action, ... >> Is there a way to launch a javascript command from within VB code? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IE 8 Help
    ... and restart IE.  No dice. ... on screen tells me thare are enabled. ... Right-click on the shortcut you're using to launch it, ... and see if this flag is set. ...
    (rec.sport.football.college)