aboutsummaryrefslogtreecommitdiff
path: root/butl/process.cxx
AgeCommit message (Collapse)AuthorFilesLines
2017-04-13Minor fixesBoris Kolpackov1-1/+1
2017-04-12Add process::id(), make few minor fixesBoris Kolpackov1-0/+11
2017-04-10Add process_run()/process_start() higher-level API on top of class processBoris Kolpackov1-9/+13
2017-03-20Fix file descriptors leakage to child process on WindowsKaren Arutyunov1-126/+190
2017-01-30Make fdopen_pipe(), fdopen(), fdnull() and fddup() to set FD_CLOEXEC flagKaren Arutyunov1-1/+1
2017-01-27Check for HANDLE_FLAG_INHERIT presence before setting it for handleKaren Arutyunov1-8/+12
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2017-01-05Add process_exitKaren Arutyunov1-26/+266
2016-12-07Add path::current(), path::parent()Karen Arutyunov1-5/+5
2016-12-05Make path::normalize() to preserve ./, invalidate paths starting with \, / ↵Karen Arutyunov1-7/+21
on Windows
2016-11-30Implement path canonicalize()Boris Kolpackov1-1/+1
2016-11-21Make process_path effective path always absoluteBoris Kolpackov1-19/+56
2016-11-14Add fdopen_pipe()Karen Arutyunov1-101/+91
2016-11-08Fix process ctor that doesn't quote empty arguments on WindowsKaren Arutyunov1-1/+1
2016-11-03Invent auto_fd, make use of it in fdstreams and processKaren Arutyunov1-74/+18
2016-10-24Make process status optionalKaren Arutyunov1-16/+19
2016-10-17Fix redirection of process stdout to stderr in POSIX implementationKaren Arutyunov1-4/+20
2016-09-16Add process::print()Karen Arutyunov1-0/+38
2016-08-26In process::path_search(), always check for existenceBoris Kolpackov1-20/+38
Even if the path has a directory component.
2016-08-25Add process::try_path_search()Boris Kolpackov1-8/+22
2016-08-22Extend process search with pre-search support, other minor improvementsBoris Kolpackov1-166/+154
2016-08-21Add support for process fallback search directoryBoris Kolpackov1-3/+37
2016-08-21Redo process path search to better accommodate Windows-specific semanticsBoris Kolpackov1-100/+235
2016-08-20Add .exe extension to commands with directoriesBoris Kolpackov1-2/+13
2016-08-10Add ucase(), lcase(), casecmp(), alpha(), digit(), alnum()Karen Arutyunov1-2/+2
2016-08-03Only PATH-search for .exe files on WindowsBoris Kolpackov1-11/+12
2016-08-03Implement faster emulation of Windows NUL via temporary fileBoris Kolpackov1-1/+5
2016-08-02Fix process::path_search() to look in parent program's directoryBoris Kolpackov1-39/+71
2016-07-28Redesign path to store trailing slash for directoriesBoris Kolpackov1-2/+2
2016-07-23Extend fdstreamKaren Arutyunov1-7/+23
2016-07-01Port to MSVCKaren Arutyunov1-0/+9
2016-06-23Add mkslink(), mkhlink()Karen Arutyunov1-39/+10
2016-06-18Fix process standard stream redirection to work properly in MSYSKaren Arutyunov1-6/+6
2016-06-03Add fdnull()Karen Arutyunov1-35/+69
2016-05-31Port to MinGWKaren Arutyunov1-162/+402
2016-04-29Rework process internals, add current_id()Boris Kolpackov1-10/+22
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2015-11-25Add process::try_wait() for non-blocking waitBoris Kolpackov1-0/+20
2015-09-25Ignore empty cwd in processBoris Kolpackov1-1/+1
2015-09-10Cosmetic changesBoris Kolpackov1-2/+3
2015-09-04Allow calling process::wait() multiple types, make process move-onlyBoris Kolpackov1-5/+7
2015-08-31Add ability for process to change child's working directoryBoris Kolpackov1-4/+9
2015-07-23Add support for process redirection to existing fd, pipingBoris Kolpackov1-27/+37
2015-06-18Move process from build2 to libbutlBoris Kolpackov1-0/+326