Artifacts Associated With Ticket 218692
Ticket change [f742b9b72a] (rid 91344) by nobody on 2000-10-26 01:04:11:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1760 Bug Version: 8.0.5 SubmitDate: '1999-04-08' LastModified: '2000-10-25' Severity: MED Status: Released Submitter: pat OS: Windows 98 Machine: X86 FixedDate: '1999-04-19' FixedInVersion: 8.1 ClosedDate: '2000-10-25' Name: Mark Mitchell ReproducibleScript: Invoke a 16-bit app under Windows95 with "exec foo". The exit status is always reported as zero, regardless of how the program actually exits. The fix is to have the `tclpip80.dll' helper application exit with the status of the 16-bit app. Patch: *** stub16.c~Mon Sep 14 11:40:20 1998 --- stub16.cThu Apr 08 01:12:12 1999 *************** *** 132,140 **** WaitForInputIdle(pi.hProcess, 5000); WaitForSingleObject(pi.hProcess, INFINITE); CloseHandle(pi.hProcess); CloseHandle(pi.hThread); - result = 0; if (hFileOutput != INVALID_HANDLE_VALUE) { SetFilePointer(hFileOutput, 0, 0, FILE_BEGIN); --- 132,140 ---- WaitForInputIdle(pi.hProcess, 5000); WaitForSingleObject(pi.hProcess, INFINITE); + GetExitCodeProcess(pi.hProcess, &result); CloseHandle(pi.hProcess); CloseHandle(pi.hThread); if (hFileOutput != INVALID_HANDLE_VALUE) { SetFilePointer(hFileOutput, 0, 0, FILE_BEGIN); PatchFiles: stub16.c 4/19/99 - redman - applied patch for 8.1.0. - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Exit status not reported from 16-bit apps"
- type initialized to: "Bug"
Ticket change [94e0206259] (rid 106074) by welch on 2000-10-26 08:27:11:
- closedate changed to: "2000-10-26T01:27:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [527507406d] (rid 126323) by dgp on 2001-04-21 03:42:33:
- closedate changed to: "2001-04-20T20:42:33"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"