Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | correct argument name, (#10813) | Anthon van der Neut | 2019-03-18 | 1 | -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)" | narimiran | 2019-03-10 | 1 | -2/+1 |
| | | | | This reverts commit 1a13b3a14eafc35615c7e9f1b72b3ab646fa7550. | ||||
* | Follow the documentation's recommendation (#10808) | Anthon van der Neut | 2019-03-08 | 1 | -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) | Miran | 2019-02-19 | 1 | -66/+159 |
| | | | | | * better docs: osproc * fix a typo in the docs, deprecate "demon" | ||||
* | osproc: fix minor typo | Araq | 2019-02-14 | 1 | -1/+1 |
| | |||||
* | make travis green | Araq | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | Remove long deprecated stuff (#10332) | Miran | 2019-01-18 | 1 | -16/+0 |
| | |||||
* | fixes #10273 execShellCmd now returns nonzero when child killed with signal ↵ | Timothee Cour | 2019-01-13 | 1 | -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 Cour | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | undo last commit (meant to send a PR instead) | Timothee Cour | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | Update osproc.nim | Timothee Cour | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | address comments | Timothee Cour | 2018-12-04 | 1 | -1/+1 |
| | |||||
* | fixup | Timothee Cour | 2018-12-04 | 1 | -1/+1 |
| | |||||
* | address comments | Timothee Cour | 2018-12-03 | 1 | -12/+2 |
| | |||||
* | fixup | Timothee Cour | 2018-12-03 | 1 | -1/+1 |
| | |||||
* | fixup | Timothee Cour | 2018-12-03 | 1 | -1/+2 |
| | |||||
* | add osproc.processID() | Timothee Cour | 2018-12-03 | 1 | -0/+10 |
| | |||||
* | Add workingDir parameter to execProcess and test (#9549) | Tomohiro | 2018-11-26 | 1 | -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 spec | Arne Döring | 2018-11-23 | 1 | -0/+6 |
| | |||||
* | Fixes #9671 (#9750) | Randy Smith | 2018-11-19 | 1 | -1/+0 |
| | |||||
* | deprecated ospaths (#9665) | Andreas Rumpf | 2018-11-09 | 1 | -1/+1 |
| | |||||
* | stdlib: documenation updates, the exception names have been changed | Andreas Rumpf | 2018-10-25 | 1 | -1/+1 |
| | |||||
* | Testament pre parallel (#9137) | Jacek Sieka | 2018-10-12 | 1 | -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 raises | Timothee Cour | 2018-09-06 | 1 | -1/+1 |
| | |||||
* | merged #8624 manually; fixes #8442; closes #8575 | Araq | 2018-08-31 | 1 | -2/+4 |
| | |||||
* | execCmdEx stderr redirection (#8162) | Timothee Cour | 2018-07-01 | 1 | -3/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2018-05-18 | 1 | -1/+1 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -19/+14 |
| | |||||
* | Change type of `Timeval.tv_sec` to `posix.Time` (#7646) | Oscar Nihlgård | 2018-04-18 | 1 | -1/+1 |
| | |||||
* | osproc: fix double close on POSIX (#5724) | Michał Zieliński | 2018-04-16 | 1 | -6/+14 |
| | | | Calling close() in some cases issued two close() syscalls to one FD, which is incorrect in multithreaded programs. | ||||
* | Fix compiler stuck on waiting C/CPP backends. (#7472) | Eugene Kabanov | 2018-04-02 | 1 | -1/+7 |
| | |||||
* | make osproc.execProcesses more robust | Andreas Rumpf | 2018-02-25 | 1 | -2/+2 |
| | |||||
* | Better times module (#6552) | GULPF | 2017-12-18 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First work on better timezones * Update tests to new api. Removed tests for checking that `isDst` was included when formatting, since `isDst` no longer affects utc offset (the entire utc offset is stored directly in `utcOffset` instead). * Deprecate getLocaltime & getGmTime * Add `now()` as a shorthand for GetTIme().inZone(Local) * Add FedericoCeratto's timezone tests (#6548) * Run more tests in all timezones * Make month enum start at 1 instead of 0 * Deprecate getDayOfWeekJulian * Fix issues with gc safety * Rename TimeInfo => DateTime * Fixes #6465 * Improve isLeapYear * FIx handling negative adjTime * Cleanup: - deprecated toSeconds and fromSeconds, added fromUnix and toUnix instead (that returns int64 instead of float) - added missing doc comments - removed some unnecessary JS specific implementations * Fix misstake in JS `-` for Time * Update usage of TimeEffect * Removed unecessary use of `difftime` * JS fix for local tz * Fix subtraction of months * Fix `days` field in `toTimeInterval` * Style and docs * Fix getDayOfYear for real this time... * Fix handling of adding/subtracting time across dst transitions * Fix some bad usage of the times module in the stdlib * Revert to use proper time resoultion for seeding in random.nim * Move deprecated procs to bottom of file * Always use `epochTime` in `randomize` * Remove TimeInterval normalization * Fixes #6905 * Fix getDayOfWeek for year < 1 * Export toEpochDay/fromEpochDay and change year/month/monthday order * Add asserts for checking that the monthday is valid * Fix some remaining ambiguous references to `Time` * Fix ambiguous reference to Time | ||||
* | Fix | cheatfate | 2017-12-13 | 1 | -1/+1 |
| | |||||
* | execProcesses optimization. | cheatfate | 2017-12-12 | 1 | -24/+29 |
| | |||||
* | Windows: Fix invalid handle value for `execProcesses`. | cheatfate | 2017-12-12 | 1 | -7/+11 |
| | | | | Windows. Fix named pipes leak. | ||||
* | Remove `-3` as marker of exited process. | cheatfate | 2017-12-11 | 1 | -41/+77 |
| | | | | | | | | Cache exiting process for Windows to omit unnecessary syscalls. Fix closing hThread for Windows. Fix for pause/resume on Windows. Fix process handle leak on Windows. Change behavior for waitForExit on Windows. | ||||
* | merged patch #6876 manually, taking care of poDemon | Andreas Rumpf | 2017-12-11 | 1 | -17/+18 |
| | |||||
* | Merge branch 'nexecProcesses' of https://github.com/cheatfate/Nim into ↵ | Andreas Rumpf | 2017-12-01 | 1 | -56/+82 |
|\ | | | | | | | cheatfate-nexecProcesses | ||||
| * | Explicit array initialization removed. | cheatfate | 2017-11-29 | 1 | -2/+0 |
| | | |||||
| * | Fix nimrtl troubles. | cheatfate | 2017-11-28 | 1 | -2/+1 |
| | | |||||
| * | Refactored version of execProcesses with test. | cheatfate | 2017-11-28 | 1 | -54/+83 |
| | | |||||
* | | osproc improvement: check API consistency in order to prevent bug #6820 | Araq | 2017-11-28 | 1 | -0/+8 |
|/ | |||||
* | Move quoteShell to ospaths (#6794) | Fredrik Høisæther Rasch | 2017-11-24 | 1 | -65/+3 |
| | | | Enables quoteShell on nimscript | ||||
* | Trim remaining expr/stmt from stdlib (#6742) | Lynn C. Rees | 2017-11-15 | 1 | -1/+1 |
| | |||||
* | Fix path for sh on Android (#6661) | Fredrik Høisæther Rasch | 2017-11-03 | 1 | -1/+3 |
| | |||||
* | osproc.execProcesses: enable poParentStreams for posix; should make travis ↵ | Andreas Rumpf | 2017-10-26 | 1 | -1/+1 |
| | | | | green again | ||||
* | osproc on Windows: fix peekExitCode for closed processes | Araq | 2017-10-25 | 1 | -0/+2 |
| | |||||
* | osproc: fixes a memory leak affecting Windows | Araq | 2017-09-30 | 1 | -7/+7 |
| | |||||
* | fixes #1734, fixes #3138, fixes #3759 | araq | 2017-09-01 | 1 | -14/+17 |
| |