Closed Bug 58776 Opened 24 years ago Closed 24 years ago

Helper apps don't launch

Categories

(SeaMonkey :: General, defect, P3)

x86
OS/2

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jkobal, Assigned: jkobal)

Details

(Whiteboard: CMVC32831)

If you configure a helper application for a certain extension/mime type, then try to open a file of that type, the helper application is not launched. The problem is that nsLocalFileOS2.cpp uses the NSPR function PR_CreateProcessDetached to launch the helper, and that function uses DosExecPgm to create the new process. However, since MOZILLA.EXE is marked as a VIO application (WINDOWCOMPAT) to display the console window, PM applications can't be launched via DosExecPgm (which can only start a process of the same type as the caller). Since a helper application might be ANY type (VIO, PM, VDM, etc.), we should not be using DosExecPgm to launch it; therefore, we should not be calling the NSPR API to do this. Instead, nsLocalFileOS2::Spawn should call DosStartSession to launch the program. I already have a fix ready for this problem.
SCREENED. VERIFIED AS VALID.
Whiteboard: CMVC32831
Assign
Status: NEW → ASSIGNED
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified - fixed.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.