Commit Graph

44 Commits

Author SHA1 Message Date
Brad King ae28d93a72 ENH: Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow detached processes to be created. Currently implemented only on UNIX. 2004-07-07 17:27:50 -04:00
Brad King b6fb2fe8f9 BUG: Do not wait for children to exit when killing them. Sometimes they do not really die. 2004-05-13 10:08:09 -04:00
Brad King 6c4ab7ec52 ENH: Adding native windows process tree kill to ProcessWin32.c. This replaces the ProcessWin32Kill.c implementation. 2004-05-10 14:54:22 -04:00
Brad King dd70c8f82d ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the macro at the correct time. 2004-05-10 13:38:33 -04:00
Andy Cedilnik 8da9b14cc6 ERR: On Borland preprocessor goes into recursion which adds some weid spaces in the include name. This fixes it 2004-05-07 14:22:48 -04:00
Bill Hoffman 99a1ec6c6d BUG: make sure the correct state is set for expired processes 2004-05-07 12:52:46 -04:00
Brad King db4fd2a15d ENH: Adding process tree killing for Win32 process execution. 2004-05-06 15:34:04 -04:00
Brad King d23636d48b BUG: Corrected detection of exceptional exit code. 2004-01-28 10:59:46 -05:00
Bill Hoffman dd7f85a9dc ENH: fix for build on cygwin mingw 2004-01-26 13:32:20 -05:00
Brad King 1c8f885f9d ENH: Added GetExceptionString method to provide an error description when GetState returns Exception. 2003-12-30 16:23:16 -05:00
Brad King 802601b606 ENH: Added SetPipeShared method to allow stdout and stderr pipes to be shared with the parent process. 2003-12-16 17:20:01 -05:00
Brad King ce8a34907a ENH: Updated copyright. 2003-12-15 16:30:46 -05:00
Brad King c9e9e8d121 STYLE: Fixed typo on comment. 2003-12-14 13:48:18 -05:00
Brad King 5dcbef7dfe ENH: Using CreateFile with FILE_FLAG_DELETE_ON_CLOSE to automatically delete the Win9x forwarding executable even if the parent process crashes. 2003-12-14 13:47:39 -05:00
Brad King 1f40a4205b ENH: Added SetPipeFile method to allow the process pipeline stdin, stdout, and stderr to be redirected from/to files. 2003-12-13 14:13:54 -05:00
Brad King dc96992e56 ENH: Code is now robust to New method returning NULL. 2003-12-13 10:36:22 -05:00
Brad King b777b8656e ENH: Cleaned up pipe numbering. 2003-12-07 14:09:58 -05:00
Brad King ed853b5d70 ENH: Removed pipe selection argument from WaitForData method in kwsysProcess. This greatly simplifies its use. 2003-12-05 11:53:17 -05:00
Brad King 97b469537b STYLE: Removed trailing whitespace. 2003-12-05 11:37:28 -05:00
Brad King 9ce4e23715 BUG: Process startup-info struct dwFlags were being set incorrectly due to a change in statement order. 2003-12-05 11:19:43 -05:00
Brad King ad8bc4b1a4 ENH: Merged changes from KWSys-MultiProcess-bp to KWSys-MultiProcess-b2t-1-mp to main tree. This introduces support for process pipelines. 2003-12-03 09:20:05 -05:00
Brad King 37bbb27bfa ERR: Removed extra variable assignments. 2003-11-04 09:00:18 -05:00
Brad King 8f8cc16ea3 BUG: Removed CloseHandle in case of error in DuplicateHandle. According to documentation, DuplicateHandle will close the source handle regardless of error condition. 2003-11-04 08:56:12 -05:00
Brad King beda09a96b ENH: Made error message consistent between win9x and non-win9x version of error reporting. 2003-08-13 18:08:07 -04:00
Andy Cedilnik 4bad15e4b2 ENH: Cast into apropriate type to remove warning 2003-08-07 15:39:07 -04:00
Brad King 07865fd113 BUG: Need to provide stdin to child processes. 2003-08-06 09:27:56 -04:00
Brad King 59d886d0f4 ENH: Added show/hide window support. 2003-08-05 15:10:33 -04:00
Brad King 27289e3267 ENH: Added SetOption/GetOption methods for platform-specific options. 2003-08-05 14:27:47 -04:00
Brad King d715fba1cb ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace. 2003-07-10 14:32:30 -04:00
Brad King 78edd51671 ENH: Made call to FormatMessage more robust. 2003-07-07 09:38:14 -04:00
Brad King 2b8bfb3b5d ENH: Implemented SetWorkingDirectory method on Windows. 2003-07-07 09:10:08 -04:00
Brad King 179abe7ffe ENH: Using GetTempPath instead of TEMP environment variable to get a location to write the Win9x forwarding executable. 2003-07-06 20:40:51 -04:00
Brad King 33566642a0 BUG: Argument parsers do not always remove double quotes from around an argument that has no spaces. 2003-07-03 18:33:53 -04:00
Brad King f24a0f17ea ERR: Added cast to remove warning. We know the length of the string will not be beyond 2^31. 2003-07-02 08:35:30 -04:00
Brad King 6b1770932e ERR: Should use %p to pass HANDLE values on a command line, not %d. 2003-07-01 13:27:42 -04:00
Andy Cedilnik 1f5defbdcf ERR: Remove warnings on Windows 2003-06-30 10:44:35 -04:00
Brad King ef76ed76f8 ENH: Added DLL support. 2003-06-30 10:30:38 -04:00
Brad King 30f4c011b0 BUG: Must return Exception status correctly. 2003-06-18 17:27:10 -04:00
Brad King 7e80f2f874 ENH: Added documentation to interface. Finished process exit code interpretation implementation prototype. 2003-06-18 17:06:21 -04:00
Brad King 751509cf10 ERR: Added error check for malloc of process control structure. 2003-06-12 16:18:07 -04:00
Brad King ef5214c6c5 ERR: Using GetCurrentProcessId instead of _getpid so we don't need to include the system process.h header. Also creating pipe threads with 1K stacks to save memory. 2003-06-12 15:58:30 -04:00
Brad King bd2590ddb5 ERR: Removed unused variables. 2003-06-11 09:44:48 -04:00
Brad King 68a9683d0d BUG: Don't show a console application's window. 2003-06-10 16:15:16 -04:00
Brad King 96ccaed54d ENH: Added Process execution implementation. 2003-06-10 15:46:31 -04:00