Welcome, Guest. Please login or register.

Author Topic: Child tasks/processes created from processes launched in a Shell window question  (Read 1964 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
@Jose

CreateProc doesn't set up CLI for the command (pr_CLI), so typically commands with startupcode will just wait for WB startup message till doomsday. If you want to launch the 2nd process with CLI, you need to look into CreateNewProc() and NP_Cli (dos/dostags.h). Also take a look at NP_SegList, NP_FreeSeglist, NP_Input and NP_Output.

Simplest would be just to use SystemTags() call.

If you just want to run the 2nd cmd syncron, look into RunCommand().