aboutsummaryrefslogtreecommitdiff
path: root/tests/pid.test
AgeCommit message (Collapse)AuthorFilesLines
2017-10-17signal, exec, wait, pid: improvements, especially to execSteve Bennett1-3/+3
- fix popen [open "|pipeline ..."] to return meaningful status in close (but note that stderr is not captured) - popen pipelines can now be used as the target of exec redirection - overally improvements to exec on windows. Now crt file descriptors are used throughout - add support for [pid], [wait] and popen on windows - os.wait is now wait, and integrates with [exec ... &] to be able to wait for running background tasks - [socket pipe] is now also [pipe] and is supported on windows - [file tempfile] is supported on windows - move duplicated code between jim-aio.c and jim-exec.c to jimiocompat.c - Fix [exec] on windows to match unix semantics wrt sharing the parent stream unless redirected rather than using /dev/null - On windows redirect to or from /dev/null is automatically converted to NUL: - If signal support is disabled, implement a minimal Jim_SignalId() for exec and wait - aio now supports getfd, to return the underlying file descriptor. This is used by exec to support redirection, and allows popen channels to support exec redirection. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-15tests: fix tests if tclcompat is not enabledSteve Bennett1-4/+6
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-15pid: error message is now tcl 8.6 compatibleSteve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-16Fix some tests so they run on mingwSteve Bennett1-1/+2
exec and pid tests
2011-12-13More test speedupsSteve Bennett1-2/+3
Speed up the timer and exec unit tests with smaller sleeps Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-10Add some missing test dependenciesSteve Bennett1-0/+1
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-12-06Add more dependencies for testsSteve Bennett1-2/+4
Allow tests to run with almost all features disabled
2010-11-22Overhaul unit test frameworkSteve Bennett1-2/+4
Much closer to tcltest now, including constraints. Try to get all appropriate tests running under both Jim and Tcl. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Implement 'pid handle'Steve Bennett1-0/+48
Signed-off-by: Steve Bennett <steveb@workware.net.au>