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: | 445 |
Nodes: | 16 (0 / 16) |
Uptime: | 113:59:14 |
Calls: | 9,209 |
Calls today: | 8 |
Files: | 13,483 |
Messages: | 6,054,654 |