To start an external program independently in PMMail, it uses DosStartSession(). This works as expected in g++ v3.3.5-5. It fails in
g++ v4.7.3. The window output is:
SYS1034: The system cannot find the command processor in the path
specified.
OS/2 Command Interpreter version 4.5
Can anyone suggest what other values may be appropriate here?
Have you tried a simple testcase to test whether the problem is your DosStartSession usage or something else.
BTW, DosStartSession is not high memory safe. If you are building
with -Zhigh-mem you need to #include os2safe.h in code that invokes DosStartSession.
The only part I haven't duplicated is the use of a termination queue.
I do not know how that would make difference, though.
Nevertheless, it does! After adding the termination queue, I get the
same failure. Removing the queue name from PMMail's code makes no
difference, though.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 185 |
Nodes: | 16 (1 / 15) |
Uptime: | 134:47:54 |
Calls: | 3,758 |
Calls today: | 2 |
Files: | 11,180 |
Messages: | 3,469,263 |