Commit graph

8 commits

Author SHA1 Message Date
Thulinma
38ef8704f8 Global cleanups and standardization of code style. 2012-12-11 11:03:33 +01:00
Thulinma
ca0fd8a641 Fix Util::TerminationNotifier deadlock when calling malloc() inside a signal handler. 2012-08-24 15:09:35 +02:00
Peter Wu
36c7eed7e3 procs: fix leakage of pids in child process 2012-08-15 11:49:21 +02:00
Peter Wu
fa5d27b085 procs: add support for easy redirection to dev null
Simply set a NULL pointer for a fd, StartPiped will then take care of opening
/dev/null, redirecting fds to it and close it when necessary.
2012-08-15 11:49:21 +02:00
Peter Wu
b994bab6d2 Add new process function including fds
Based on BiPipe from MistPlayer branch

v2: fix dup2 of wrong fd, fix invalid fd debug print
2012-08-15 11:49:21 +02:00
Peter Wu
06167128bf Add process termination registration
Edited patch because of context change due to:
commit 28548f35b0
Author: Thulinma <jaron@vietors.com>
Date:   Tue Aug 14 20:53:05 2012 +0200

    Do not report part-termination of processes.
2012-08-15 11:48:23 +02:00
Thulinma
28548f35b0 Do not report part-termination of processes. 2012-08-14 20:53:05 +02:00
Thulinma
ad410a2e79 Convert to autotools build system for cleanness (part1). 2012-05-08 19:19:42 +02:00
Renamed from util/procs.cpp (Browse further)