5
OK, all things considered this is trivial, but kind of annoying.
Part of the IBM CPP 3.65 install is the object to start the on-line help system, which is basically the NetQ application feeding the CPP content.
That object has the following parameters:
1) 'Required Path and file..' => G:\OS2\CMD.EXE
2) 'Optional Parameters...' => /k G:\code\tools\Ibmcpp\BIN\SETENV.CMD CPPHLP36.EXE open index.htm
where:
SETENV.CMD just sets up the enviornment and CPPHLP36.EXE is the NetQ help server itself.
That object is set to: start minimized in OS/2 window and close the window on exit. This works fine.
However, since it is nice to have full control over that help server I created two separate objects which basically enable me to manually START & STOP the server w/o invoking the CPPHLP36.exe itself. Reason here being: sometimes I just shut down my DEV session and wish to re-start later having saved all my pertinent bookmarks, and so when those are re-loaded I need the back end NetQ server up and running.
Those objects have the same setup as the originally installed IBM one:
1) 'Required Path and file..' => G:\OS2\CMD.EXE
2) 'Optional Parameters...' => /k G:\code\tools\Ibmcpp\BIN\SETENV.CMD G:\netqos2\help_server_start.cmd
where:
help_server_start.cmd contains the following:
/* This script will fire up the NETQ help system */
/* start the netq server */
'netq start server'
/* now start the HTTP deamon serving the help info */
'G:\NETQOS2\HTTPDL.EXE -r g:\netqos2\httpd.cnf'
exit
However, when I instantiate that object despite the fact that it's SESSION is set to run in OS/2 Windsow, Start minimized and Close on exit, that window just opens up on my Desktop (in the foreground) and doesn't close.
What am I missing here???
It seems like this should be really simple, and yet it escapes me!
Just for shits and giggles I actually went through all the individual components (the CMD files, etc.) adjusting their object settings to do what I want, and yet the result is the same.
How do I force this thing to just flat out 'run in the background' w/o me ever seeing anything?