Dmitry Chestnykh <dmitry@...> writes: > > On Jan 22, 2011, at 2:59 PM, Wolfgang wrote: > >> > > I tried Dmitry Chestnykh's solution but i got some trouble, when the called > > process does subsequent 'system(...)'-calls - new DOS-boxes are flickering > > around. > > That was because I couldn't make it preserve input/output handles from the parent process, > but I'm sure there's a way to do it -- I just don't know how :) > > -- > Dmitry Chestnykh >
If i change the create flag DETACHED_PROCESS in your code to CREATE_NEW_PROCESS_GROUP, your solution works in the same way, as my solution with "start /b". A ctrl-c kills only the fossil server and the sub process remains actice. Closing the DOS box kills the sub process too. Wolfgang _______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

