gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix for -[NSTask launch] under MinGW for paths containing spaces


From: Tom Koelman
Subject: Fix for -[NSTask launch] under MinGW for paths containing spaces
Date: Tue, 11 Feb 2003 12:04:05 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2

Hi,

currently, when trying to launch a process with NSTask under MinGW,
for which the executable contains spaces, the argv array passed to the
process is wrong. When e.g. the executable is "c:\Program Files\Big
Otter\whatever.exe", argv is as follows for whatever.exe:
argv[0]="c:\Program"
argv[1]="Files\Big"
argv[2]="Otter\whatever.exe"

This patch fixes that:

Attachment: patchfile.patch
Description: Fix for -launch executable containing spaces under MinGW

Tom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]