summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32.c
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Improved robustness of sharing parent pipes with children. This ↵Brad King2005-12-201-38/+88
| | | | ensures that the parent pipe handles are inherited by the children. If a parent pipe handle is invalid a handle to an empty pipe is given to the child to make sure all pipes are defined for the children.
* BUG: Do not close handle obtained from GetModuleHandle which does not ↵Brad King2005-11-161-2/+8
| | | | increase the reference count of the module.
* BUG: Fixed reusability of process object by clearing each pipe's Closed flag ↵Brad King2005-07-071-1/+2
| | | | when cleaning up.
* BUG: Fixed polling feature of WaitForData.Brad King2005-06-171-2/+13
|
* COMP: Fixed unused parameter and constant conditional warnings.Brad King2005-04-221-1/+3
|
* BUG: Do not close stdout/stderr pipes in parent if they are shared.Brad King2005-04-211-2/+5
|
* COMP: Adding work-around for CMake dependency scanning limitation. Any ↵Brad King2005-04-131-0/+6
| | | | configured header included by KWSYS_HEADER() in a .c or .cxx file in kwsys itself must use this hack to get dependencies.
* ENH: Do kwsys testing as part of cmake testing, command line arguments are ↵Andy Cedilnik2005-04-131-1/+0
| | | | not experimental and add simple test for systemtools
* ENH: Re-arranged handling of the two threads per pipe to improve readability ↵Brad King2004-07-131-80/+106
| | | | of code.
* BUG: Fix for read pipe wakeup when child is writing alot of data and may ↵Brad King2004-07-131-3/+114
| | | | fill the pipe buffer before WriteFile is called.
* ENH: Added windows implementation of Disown/Detach.Brad King2004-07-071-28/+74
|
* ENH: Added kwsysProcess_Disown an kwsysProcess_Option_Detach to allow ↵Brad King2004-07-071-0/+7
| | | | detached processes to be created. Currently implemented only on UNIX.
* BUG: Do not wait for children to exit when killing them. Sometimes they do ↵Brad King2004-05-131-6/+2
| | | | not really die.
* ENH: Adding native windows process tree kill to ProcessWin32.c. This ↵Brad King2004-05-101-5/+403
| | | | replaces the ProcessWin32Kill.c implementation.
* ERR: Avoiding namespace pollution: kw_sys -> kwsys_ns. Also undefining the ↵Brad King2004-05-101-1/+1
| | | | macro at the correct time.
* ERR: On Borland preprocessor goes into recursion which adds some weid spaces ↵Andy Cedilnik2004-05-071-1/+1
| | | | in the include name. This fixes it
* BUG: make sure the correct state is set for expired processesBill Hoffman2004-05-071-0/+1
|
* ENH: Adding process tree killing for Win32 process execution.Brad King2004-05-061-1/+5
|
* BUG: Corrected detection of exceptional exit code.Brad King2004-01-281-3/+3
|
* ENH: fix for build on cygwin mingwBill Hoffman2004-01-261-0/+8
|
* ENH: Added GetExceptionString method to provide an error description when ↵Brad King2003-12-301-34/+92
| | | | GetState returns Exception.
* ENH: Added SetPipeShared method to allow stdout and stderr pipes to be ↵Brad King2003-12-161-6/+75
| | | | shared with the parent process.
* ENH: Updated copyright.Brad King2003-12-151-12/+9
|
* STYLE: Fixed typo on comment.Brad King2003-12-141-1/+1
|
* ENH: Using CreateFile with FILE_FLAG_DELETE_ON_CLOSE to automatically delete ↵Brad King2003-12-141-3/+21
| | | | the Win9x forwarding executable even if the parent process crashes.
* ENH: Added SetPipeFile method to allow the process pipeline stdin, stdout, ↵Brad King2003-12-131-6/+183
| | | | and stderr to be redirected from/to files.
* ENH: Code is now robust to New method returning NULL.Brad King2003-12-131-10/+46
|
* ENH: Cleaned up pipe numbering.Brad King2003-12-071-5/+11
|
* ENH: Removed pipe selection argument from WaitForData method in ↵Brad King2003-12-051-8/+4
| | | | kwsysProcess. This greatly simplifies its use.
* STYLE: Removed trailing whitespace.Brad King2003-12-051-127/+127
|
* BUG: Process startup-info struct dwFlags were being set incorrectly due to a ↵Brad King2003-12-051-1/+1
| | | | change in statement order.
* ENH: Merged changes from KWSys-MultiProcess-bp to ↵Brad King2003-12-031-330/+671
| | | | KWSys-MultiProcess-b2t-1-mp to main tree. This introduces support for process pipelines.
* ERR: Removed extra variable assignments.Brad King2003-11-041-4/+2
|
* BUG: Removed CloseHandle in case of error in DuplicateHandle. According to ↵Brad King2003-11-041-1/+0
| | | | documentation, DuplicateHandle will close the source handle regardless of error condition.
* ENH: Made error message consistent between win9x and non-win9x version of ↵Brad King2003-08-131-25/+35
| | | | error reporting.
* ENH: Cast into apropriate type to remove warningAndy Cedilnik2003-08-071-1/+1
|
* BUG: Need to provide stdin to child processes.Brad King2003-08-061-0/+1
|
* ENH: Added show/hide window support.Brad King2003-08-051-22/+22
|
* ENH: Added SetOption/GetOption methods for platform-specific options.Brad King2003-08-051-0/+16
|
* ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys ↵Brad King2003-07-101-1/+2
| | | | headers through their configured namespace.
* ENH: Made call to FormatMessage more robust.Brad King2003-07-071-3/+36
|
* ENH: Implemented SetWorkingDirectory method on Windows.Brad King2003-07-071-2/+30
|
* ENH: Using GetTempPath instead of TEMP environment variable to get a ↵Brad King2003-07-071-12/+6
| | | | location to write the Win9x forwarding executable.
* BUG: Argument parsers do not always remove double quotes from around an ↵Brad King2003-07-031-66/+108
| | | | argument that has no spaces.
* ERR: Added cast to remove warning. We know the length of the string will ↵Brad King2003-07-021-1/+1
| | | | not be beyond 2^31.
* ERR: Should use %p to pass HANDLE values on a command line, not %d.Brad King2003-07-011-1/+1
|
* ERR: Remove warnings on WindowsAndy Cedilnik2003-06-301-10/+15
|
* ENH: Added DLL support.Brad King2003-06-301-2/+2
|
* BUG: Must return Exception status correctly.Brad King2003-06-181-1/+2
|
* ENH: Added documentation to interface. Finished process exit code ↵Brad King2003-06-181-23/+88
| | | | interpretation implementation prototype.