Note that we can't use a child setup routine in g_spawn routines.
They don't work on Windows, and we support Windows, so.... Change-Id: Icdbdfcfd930ae13aba6d8fb018d7e2af55b76fa1 Reviewed-on: https://code.wireshark.org/review/18943 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
7dbe9b4987
commit
19b6062ffd
|
@ -1121,7 +1121,7 @@ static void snort_start(void)
|
|||
(char **)argv,
|
||||
NULL, /* envp */
|
||||
(GSpawnFlags)( G_SPAWN_DO_NOT_REAP_CHILD), /* Leave out G_SPAWN_SEARCH_PATH */
|
||||
NULL, /* child setup - not currently doing anything.. */
|
||||
NULL, /* child setup - not supported in Windows, so we can't use it */
|
||||
NULL, /* user-data */
|
||||
¤t_session.pid, /* PID */
|
||||
¤t_session.in, /* stdin */
|
||||
|
|
Loading…
Reference in New Issue