apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@brasko.net
Subject Support CREATE_NO_WINDOW in threadproc/win32/proc.c
Date Wed, 24 Feb 2010 21:48:04 GMT

It would be useful if apr could support CREATE_NO_WINDOW in
threadproc/win32/proc.c similar to the way it handles

I was thinking of a few ways to solve this.

The first would be an entirely new api,
  apr_status_t apr_proc_nowindow(int value);
If value was true, CREATE_NO_WINDOW is set, otherwise it's not.

The second idea would be to use the value passed to detach,
to determine if DETACHED_PROCESS or CREATE_NO_WINDOW should be used.
They can't be used together according to the win32 api. In this
scenario, I could make it so that if 1 was passed into
apr_proc_detach, then DETACHED_PROCESS is set. Otherwise, if 2 
was passed in CREATE_NO_WINDOW would be set.

Any ideas on if this is wanted and the best way to precede?


View raw message