Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add -d:nimStrictMode in CI to keep code from regressing; fixes ↵ | Timothee Cour | 2021-02-17 | 1 | -1/+1 |
| | | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764) | ||||
* | fix some warnings (#16952) | flywind | 2021-02-08 | 1 | -5/+5 |
| | |||||
* | Deprecate TaintedString (#15423) | Juan Carlos | 2021-01-15 | 1 | -7/+7 |
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | reuse const (#16422) | n5m | 2021-01-01 | 1 | -1/+1 |
| | |||||
* | link to POSIX sendSignal from osproc.kill docs (#16475) | n5m | 2021-01-01 | 1 | -0/+2 |
| | | | and from osproc.terminate docs | ||||
* | Fix osproc so that it doesn't close pipe/process/thread handles twice ↵ | Tomohiro | 2020-12-18 | 1 | -18/+40 |
| | | | | | | | (#16385) [backport] * Add error check to closeHandle and fix closing handle twice in osproc * Fix compile error on Linux | ||||
* | Fix broken links in docs (#16336) | Elliot Waite | 2020-12-14 | 1 | -1/+1 |
| | | | | | * Fix broken links in docs * Fix rand HSlice links | ||||
* | typo | Araq | 2020-10-06 | 1 | -1/+1 |
| | |||||
* | Add first draft of new osproc.readLines (#15429) | c-blake | 2020-10-01 | 1 | -0/+51 |
| | | | | | | | | | | | | | | | | | | | | | * Add first draft of new osproc.readLines * Add test for new osproc.readLines * Rename test to start w/t to run; Also add newline to output * Suppress hint messages. * Output should match this time. * Shoulda picked a program with simpler syntax than ..lol * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-701890898 and https://github.com/nim-lang/Nim/pull/15429#issuecomment-701985976 by factoring `readLines` into `iterator lines` and a wrapper `proc`. * Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-702127289 and also add a `ReadIOEffect` tag to the iterator (called by the wrapper.. so it should need no separate tag, if I understand correctly). | ||||
* | Fix #14906 (#14949) | Tomohiro | 2020-07-18 | 1 | -7/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | * Fix #14906 by wrapping outputStream with PipeOutStream * Fix compile error when ./build_all.sh * Use PipeOutStream on posix * Fix compile error when build_all.sh * Use ptr UncheckedArray * Replace copyRefObj * Remove tmp buffer from posPeekData * Add more tests for outputStream * Add comments about PipeOutStream.buffer * Fix bug in posReadLine * Move implementation of newPipeOutStream to streamwrapper module | ||||
* | turn 'runnableExample' into 'code-block' to make nightlies green | narimiran | 2020-06-25 | 1 | -9/+12 |
| | | | | | This example doesn't work on our nightlies CI. Other procs in this module already use 'code-block'. | ||||
* | `osproc.execCmdEx` now takes an optional `input` for stdin, `env`, ↵ | Timothee Cour | 2020-05-13 | 1 | -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 Cour | 2020-05-11 | 1 | -1/+5 |
| | | | | IO [backport] (#14296) | ||||
* | fix #14203 (#14204) | slangmgh | 2020-05-03 | 1 | -1/+4 |
| | |||||
* | change 'iff' to 'if' to stop "corrections" once and for all (#14182) | Miran | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | osproc: added a better version of waitForExit for Haiku (#13938) | alaviss | 2020-04-10 | 1 | -0/+61 |
| | | | Also modified tosprocterminate to verify waitForExit implementations. | ||||
* | Deprecate when declared(echo):echo (#13840) | Juan Carlos | 2020-04-02 | 1 | -1/+1 |
| | |||||
* | Documentation, add more examples (#13825) | Juan Carlos | 2020-04-01 | 1 | -0/+1 |
| | |||||
* | More fixes for Haiku (#13774) | alaviss | 2020-03-27 | 1 | -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] | Tomohiro | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | osproc: fixes regression | Araq | 2019-12-24 | 1 | -1/+1 |
| | |||||
* | ported osproc.nim to ARC | Araq | 2019-12-24 | 1 | -1/+1 |
| | |||||
* | osproc needs 'import linux' for -d:useClone | Andreas Rumpf | 2019-11-07 | 1 | -0/+3 |
| | |||||
* | remove unused imports | narimiran | 2019-11-06 | 1 | -3/+0 |
| | |||||
* | use system.move instead of system.shallowCopy if the GC mode requires it | Andreas Rumpf | 2019-10-04 | 1 | -6/+4 |
| | |||||
* | [backport] run nimpretty on os-related stuff | narimiran | 2019-09-30 | 1 | -93/+81 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -8/+8 |
| | | | | --styleCheck:error | ||||
* | ABI fixes for OSX/BSD; fixes #6860 (#11666) | Andreas Rumpf | 2019-07-06 | 1 | -1/+1 |
| | |||||
* | [bugfix] remove dangling ref (#11576) | Jasper Jenkins | 2019-06-25 | 1 | -1/+1 |
| | |||||
* | makes koch.nim sem'check with --newruntime | Araq | 2019-04-06 | 1 | -4/+10 |
| | |||||
* | see what appveyor thinks about this | Araq | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | newruntime: progress | Araq | 2019-04-01 | 1 | -4/+4 |
| | |||||
* | 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 |