summary refs log tree commit diff stats
path: root/lib/pure/osproc.nim
Commit message (Collapse)AuthorAgeFilesLines
* `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, ↵Timothee Cour2020-05-131-12/+31
| | | | | | | workingDir (#14211) * `osproc.execCmdEx` now takes an optional `input` for stdin * execCmdEx now also takes an optional ``workingDir` and `env`
* fix a critical bug in windows.osproc leading to resource leaks and blocking ↵Timothee Cour2020-05-111-1/+5
| | | | IO [backport] (#14296)
* fix #14203 (#14204)slangmgh2020-05-031-1/+4
|
* change 'iff' to 'if' to stop "corrections" once and for all (#14182)Miran2020-05-011-1/+1
|
* osproc: added a better version of waitForExit for Haiku (#13938)alaviss2020-04-101-0/+61
| | | Also modified tosprocterminate to verify waitForExit implementations.
* Deprecate when declared(echo):echo (#13840)Juan Carlos2020-04-021-1/+1
|
* Documentation, add more examples (#13825)Juan Carlos2020-04-011-0/+1
|
* More fixes for Haiku (#13774)alaviss2020-03-271-47/+48
| | | | | | | | | | | * osproc: move fork-based code path under the when conditional * osproc: avoid using the environ global on Haiku * osenv: import environ from stdlib.h on Haiku Haiku's environ is declared in `<stdlib.h>` by default, differing from POSIX and/or Linux. Import it from there to avoid collision with anyone importing `<stdlib.h>` from Nim.
* Fix error check code in osproc (#13090) [backport]Tomohiro2020-01-091-1/+1
|
* osproc: fixes regressionAraq2019-12-241-1/+1
|
* ported osproc.nim to ARCAraq2019-12-241-1/+1
|
* osproc needs 'import linux' for -d:useCloneAndreas Rumpf2019-11-071-0/+3
|
* remove unused importsnarimiran2019-11-061-3/+0
|
* use system.move instead of system.shallowCopy if the GC mode requires itAndreas Rumpf2019-10-041-6/+4
|
* [backport] run nimpretty on os-related stuffnarimiran2019-09-301-93/+81
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-8/+8
| | | | --styleCheck:error
* ABI fixes for OSX/BSD; fixes #6860 (#11666)Andreas Rumpf2019-07-061-1/+1
|
* [bugfix] remove dangling ref (#11576)Jasper Jenkins2019-06-251-1/+1
|
* makes koch.nim sem'check with --newruntimeAraq2019-04-061-4/+10
|
* see what appveyor thinks about thisAraq2019-04-011-1/+1
|
* newruntime: progressAraq2019-04-011-4/+4
|
* correct argument name, (#10813)Anthon van der Neut2019-03-181-1/+2
| | | | | | | | | | * correct argument name, updated using poUsePath, based on feedback from c-blake * Update osproc.nim * explicit args parameter
* Revert "Follow the documentation's recommendation (#10808)"narimiran2019-03-101-2/+1
| | | | This reverts commit 1a13b3a14eafc35615c7e9f1b72b3ab646fa7550.
* Follow the documentation's recommendation (#10808)Anthon van der Neut2019-03-081-1/+2
| | | | The doc states "Make sure to pass options explicitly.", but the example didn't. Since constructing a string for the shell with appropriate quotes is non-trivial, the first example should be how to use `execProcess` including `args`
* better docs: osproc (#10708)Miran2019-02-191-66/+159
| | | | | * better docs: osproc * fix a typo in the docs, deprecate "demon"
* osproc: fix minor typoAraq2019-02-141-1/+1
|
* make travis greenAraq2019-02-061-1/+1
|
* Remove long deprecated stuff (#10332)Miran2019-01-181-16/+0
|
* fixes #10273 execShellCmd now returns nonzero when child killed with signal ↵Timothee Cour2019-01-131-14/+7
| | | | | | | | | | + other fixes (#10274) * s/exitStatus(...)/exitStatusLikeShell(...)/ * fix #10273 execShellCmd now returns nonzero when child exits with signal * test case for #10249 and explanation for the bug * fix test failure * add tests/nim.cfg
* Update osproc.nim (#10043)Timothee Cour2018-12-191-1/+1
|
* undo last commit (meant to send a PR instead)Timothee Cour2018-12-181-1/+1
|
* Update osproc.nimTimothee Cour2018-12-181-1/+1
|
* address commentsTimothee Cour2018-12-041-1/+1
|
* fixupTimothee Cour2018-12-041-1/+1
|
* address commentsTimothee Cour2018-12-031-12/+2
|
* fixupTimothee Cour2018-12-031-1/+1
|
* fixupTimothee Cour2018-12-031-1/+2
|
* add osproc.processID()Timothee Cour2018-12-031-0/+10
|
* Add workingDir parameter to execProcess and test (#9549)Tomohiro2018-11-261-1/+3
| | | | | | * Add workingDir parameter to execProcess * Fix tests/stdlib/tosproc.nim compile error * Suppress output from tosproc.nim
* activated more tests, allow input in test specArne Döring2018-11-231-0/+6
|
* Fixes #9671 (#9750)Randy Smith2018-11-191-1/+0
|
* deprecated ospaths (#9665)Andreas Rumpf2018-11-091-1/+1
|
* stdlib: documenation updates, the exception names have been changedAndreas Rumpf2018-10-251-1/+1
|
* Testament pre parallel (#9137)Jacek Sieka2018-10-121-1/+4
| | | | | | | | | | * testament: move to root dir (it's not a test) * osproc: fix process index passed to afterRunEvent for parallel runs it was passing the index of the process, not index of all commands * testament: complete file move
* add data.sysCommand when startProcessAuxSpawn raisesTimothee Cour2018-09-061-1/+1
|
* merged #8624 manually; fixes #8442; closes #8575Araq2018-08-311-2/+4
|
* execCmdEx stderr redirection (#8162)Timothee Cour2018-07-011-3/+1
|
* make tests green againAndreas Rumpf2018-05-181-1/+1
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-19/+14
|
* Change type of `Timeval.tv_sec` to `posix.Time` (#7646)Oscar Nihlgård2018-04-181-1/+1
|