summary refs log tree commit diff stats
path: root/lib/pure/osproc.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* osproc: fix double close on POSIX (#5724)Michał Zieliński2018-04-161-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 Kabanov2018-04-021-1/+7
|
* make osproc.execProcesses more robustAndreas Rumpf2018-02-251-2/+2
|
* Better times module (#6552)GULPF2017-12-181-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
* Fixcheatfate2017-12-131-1/+1
|
* execProcesses optimization.cheatfate2017-12-121-24/+29
|
* Windows: Fix invalid handle value for `execProcesses`.cheatfate2017-12-121-7/+11
| | | | Windows. Fix named pipes leak.
* Remove `-3` as marker of exited process.cheatfate2017-12-111-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 poDemonAndreas Rumpf2017-12-111-17/+18
|
* Merge branch 'nexecProcesses' of https://github.com/cheatfate/Nim into ↵Andreas Rumpf2017-12-011-56/+82
|\ | | | | | | cheatfate-nexecProcesses
| * Explicit array initialization removed.cheatfate2017-11-291-2/+0
| |
| * Fix nimrtl troubles.cheatfate2017-11-281-2/+1
| |
| * Refactored version of execProcesses with test.cheatfate2017-11-281-54/+83
| |
* | osproc improvement: check API consistency in order to prevent bug #6820Araq2017-11-281-0/+8
|/
* Move quoteShell to ospaths (#6794)Fredrik Høisæther Rasch2017-11-241-65/+3
| | | Enables quoteShell on nimscript
* Trim remaining expr/stmt from stdlib (#6742)Lynn C. Rees2017-11-151-1/+1
|
* Fix path for sh on Android (#6661)Fredrik Høisæther Rasch2017-11-031-1/+3
|
* osproc.execProcesses: enable poParentStreams for posix; should make travis ↵Andreas Rumpf2017-10-261-1/+1
| | | | green again
* osproc on Windows: fix peekExitCode for closed processesAraq2017-10-251-0/+2
|
* osproc: fixes a memory leak affecting WindowsAraq2017-09-301-7/+7
|
* fixes #1734, fixes #3138, fixes #3759araq2017-09-011-14/+17
|
* Introduce first class support for Android (#5772)Fredrik Høisæther Rasch2017-08-061-1/+2
|
* Fix posix_spawn error handling (#5826)Ruslan Mustakov2017-05-171-4/+1
| | | posix_spawn doesn't set errno - it returns the error code.
* Deprecate osproc.select(). Refs #90.Dominik Picheta2017-05-091-1/+5
|
* WIFSIGNALED means process has exited too (with a bang!) (#5678)Jacek Sieka2017-04-271-9/+33
|
* Fix osproc.peekExitCode() to handle exitcode properly. (#5555)Eugene Kabanov2017-03-171-14/+12
|
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-171-3/+3
| | | | | | | | | * Fix kqueue.nim and ansi_c.nim to support dragonfly. * Fix ioselectors.nim, threads.nim to support dragonfly. * Fix deprecated dealloc call in tioselectors.nim. * Fix tfsmonitor.nim test to run only on Linux. * Fix osproc.nim return wrong exit codes. * Fix getAppFilename() for dragonfly. * Fix proper exit code handling.
* fixes #5179Araq2017-01-071-4/+5
|
* make sure first call to running() after process exit returns falseJohannes Hofmann2016-12-031-4/+10
|
* check waitpid() return value before setting exitStatusJohannes Hofmann2016-12-021-1/+1
| | | | This fixes a race with parallelBuild on DragonFly BSD.
* better error handling for osproc.nimAndreas Rumpf2016-11-051-1/+5
|
* One more attempt to fix #4867cheatfate2016-10-211-1/+3
|
* convert exitStatus to exit codeJohannes Hofmann2016-09-301-3/+3
|
* another attempt at properly declaring the status variableJohannes Hofmann2016-09-251-1/+3
|
* make status variable localJohannes Hofmann2016-09-251-2/+1
|
* rename exitCode to exitStatusJohannes Hofmann2016-09-241-18/+18
|
* generally update exitCode only after successful completion of waitpid()Johannes Hofmann2016-09-221-23/+26
|
* reset p.exitCode in peekExitCode on Posix when process did not exit (#4793)Johannes Hofmann2016-09-171-1/+3
| | | | | | | | * reset p.exitCode in peekExitCode on Posix when process did not exit fixes #4792 * fix indentation
* Add warning to `osproc.close`Dominik Picheta2016-07-211-1/+5
|
* Fix environment handling in startProcessDmitry Polienko2016-07-191-6/+9
|
* Revert changes in osproc.nimDmitry Polienko2016-07-191-43/+6
|
* Fix passing environment in startProcess (win)Dmitry Polienko2016-07-181-6/+43
| | | | | Previous implementation used newWideCString, which doesn't handle strings with \0 characters.
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* installer fixes and improvementsAndreas Rumpf2016-06-071-3/+3
|
* Resolve bugscheatfate2016-05-241-2/+2
|
* Resolve #4200cheatfate2016-05-241-12/+165
| | | | Resolve [Deprecated] warning for raiseOsError at line 878
* Revert raiseOSError changedef2016-02-061-2/+1
|