improve comments

This commit is contained in:
Richard Frith-Macdonald 2020-10-03 15:18:21 +01:00
parent 21839365a9
commit 57efbdb09e

View file

@ -1292,16 +1292,16 @@ quotedFromString(NSString *aString)
NULL, /* thread attrs */ NULL, /* thread attrs */
1, /* inherit handles */ 1, /* inherit handles */
0 0
|CREATE_NO_WINDOW /* We don't want a subtask to be run min a window since that would prevent
/* One would have thought the the CREATE_NO_WINDOW flag should be used, * startup of background tasks. If a subtask wants a window, it should
* but apparently this breaks for old 16bit applications/tools on XP. * create it itself.
* So maybe we want to leave it out?
*/ */
// |DETACHED_PROCESS |CREATE_NO_WINDOW
/* We don't set the DETACHED_PROCESS flag as it actually means that the /* We don't set the DETACHED_PROCESS flag as it actually means that the
* child task should get a new Console allocated ... and that means it * child task should get a new Console allocated ... and that means it
* will pop up a console window ... which looks really bad. * will pop up a console window ... which looks really bad.
*/ */
// |DETACHED_PROCESS
|CREATE_UNICODE_ENVIRONMENT, |CREATE_UNICODE_ENVIRONMENT,
envp, /* env block */ envp, /* env block */
(const unichar*)[[self currentDirectoryPath] fileSystemRepresentation], (const unichar*)[[self currentDirectoryPath] fileSystemRepresentation],