summaryrefslogtreecommitdiff
path: root/Source/kwsys/ProcessWin32.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-09-141-2/+2
| | | | | * upstream-KWSys: KWSys 2018-09-14 (1809bedd)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-06-011-33/+33
| | | | | * upstream-KWSys: KWSys 2018-06-01 (8ef62b28)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-11-021-0/+5
| | | | | * upstream-KWSys: KWSys 2017-11-02 (54f0901a)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-10-101-11/+4
| | | | | * upstream-KWSys: KWSys 2017-10-10 (239bc737)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-05-161-132/+121
| | | | | * upstream-KWSys: KWSys 2017-05-16 (fe1f22ce)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-11-091-1041/+796
| | | | | * upstream-KWSys: KWSys 2016-11-09 (18c65411)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-03-091-0/+11
| | | | | * upstream-KWSys: KWSys 2016-03-09 (36d8666f)
* Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-02-221-1/+3
| | | | | * upstream-KWSys: KWSys 2016-02-22 (4847aedd)
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-07-311-53/+409
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-07-081-93/+58
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-071-2/+7
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-051-306/+253
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-01-211-2/+10
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-09-261-0/+17
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2013-11-251-29/+49
|
* Merge branch 'upstream-kwsys' into update-kwsysBrad King2012-12-191-270/+17
|
* KWSys: Teach Process to error on empty commandBrad King2010-06-111-0/+8
| | | | | Do not try to execute a child with no command line. Previously this led to a silent hang.
* KWSys: Fix process tree kill on 64-bit WindowsBrad King2009-11-301-1/+6
| | | | | | | | We enumerate processes to identify those whose parent is being killed so that we can recursively kill the children. Enumeration uses the Process32(First|Next) windows API functions, which accept PROCESSENTRY32 objects to be filled. This commit corrects the declaration of the entry structure to account for its size on 64-bit Windows.
* Convert KWSys to OSI-approved BSD LicenseBrad King2009-09-281-11/+9
| | | | | | | This converts the KWSys license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the KWSys copyright to cover the full development time range.
* ENH: first pass at VS 10, can bootstrap CMake, but many tests still failBill Hoffman2009-06-251-5/+5
|
* COMP: sprintf warnings. DWORD should use %ld rather than %d. Also, const ↵Bill Lorensen2008-05-101-1/+1
| | | | char *p, a shadowed variable warning.
* ENH: fix resource leakBill Hoffman2007-07-241-4/+5
|
* ENH: Added KWSYSPE_DEBUG macro to print debugging trace information. Added ↵Brad King2007-04-121-1/+54
| | | | TODO comment explaining why process execution can still hang when a grandchild keeps the output pipes open.
* COMP: Fix or suppress warnings on Borland and Mac dashboards. Definitely fix ↵David Cole2006-10-091-0/+1
| | | | "may be used uninitialized" warnings.
* ENH: Added Process_SetPipeNative method to allow user code to override the ↵Brad King2006-10-031-2/+107
| | | | pipes connected to the child pipeline.
* ENH: Re-implemented command line argument shell quoting to support several ↵Brad King2006-09-271-2/+2
| | | | platforms with one code base.
* ENH: Adding 'System' component of C sources to hold system tools written in ↵Brad King2006-09-211-128/+7
| | | | C. Moved windows shell command line argument escaping code to kwsysSystem_Windows_ShellArgument and kwsysSystem_Windows_ShellArgumentSize.
* BUG: When handing the child stdin pipe a file, allow another process to be ↵Brad King2006-07-171-2/+3
| | | | writing to the file at the same time. This allows children such as tail -f to function properly.
* COMP: Fix conversion warning.Brad King2006-06-191-1/+1
|
* ENH: Added Option_Verbatim to run whole command lines directly.Brad King2006-06-151-156/+205
|
* BUG: Fixed deadlock condition when grandchildren are running after the ↵Brad King2006-05-211-13/+53
| | | | children exit.
* ENH: add support for win64 for visual studio 2005 ide and nmake, also fix ↵Bill Hoffman2006-03-301-1/+1
| | | | warnings produced by building for win64
* COMP: Fixed warnings for Borland 5.8.Brad King2006-02-281-4/+8
|
* ENH: add support for watcom wmake and wcl386Bill Hoffman2006-01-171-0/+3
|
* 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