On Mon, Jan 3, 2011 at 5:58 AM, Richard Hipp <[email protected]> wrote:
> I've got a  plan for a better way to do various "hooks", but in order for it
> to work cross-platform, I need code that will start a background process on
> windows.  By "background" process, I mean a process that will continue
> running even after its parent process exits or is killed.  If any windows

If memory serves, you can abuse CreateProcess() in Win32 land to this
end by setting the CREATE_BREAKAWAY_FROM_JOB and NO_WINDOW bits in
dwCreationFlags.

http://msdn.microsoft.com/en-us/library/ms682425%28v=vs.85%29.aspx

Unfortunately, my Win32 experience is somewhat limited (I've mostly
banged against what's called the Native API), and I currently don't
have access to a Win32 box with a development environment to test
this, so don't quote me on any of it. :)

/nrr
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to