Commit graph

127 commits

Author SHA1 Message Date
Jochen Van de Velde
86c9fffc41 Fix osproc documentation 2015-05-13 18:19:51 +02:00
def
2025a0f482 Make peekExitCode on Posix use WIFEXITED to determine exit
This fixes #2552
2015-04-14 12:58:17 +02:00
yglukhov
5793449b5a Doc fix: TProcessOption -> ProcessOption 2015-04-03 13:38:10 +03:00
def
e686ca2523 Fix a few more warnings 2015-02-17 02:22:30 +01:00
Federico Ceratto
c95f6f117a Fix typos 2015-02-15 16:06:06 +00:00
modk
458e3b2f07 FreeBSD-specific code 2015-01-29 12:51:22 +01:00
modk
e37e997868 Set status to something else than 0 2015-01-27 22:39:24 +01:00
modk
601b262a8d Fixes parallel build on FreeBSD 2015-01-26 00:06:43 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Elie Zedeck
04069bbe9d Uses execve() in osproc on OpenWrt and uClibc-based platforms. 2014-11-16 12:53:43 +03:00
Araq
37cc9b2226 fixes #1181 2014-11-13 19:07:27 +01:00
Araq
a53e97fc89 Merge branch 'devel' into bigbreak
Conflicts:
	lib/pure/osproc.nim
2014-11-03 22:50:55 +01:00
Andreas Rumpf
01b262d8d1 Merge pull request #1569 from idlewan/prettyCC
Prettify compiler output for verbosity=1
2014-11-03 02:02:20 +01:00
Erwan Ameil
c3a4cc87ca Forgot to keep extern pragma for execProcesses 2014-11-02 16:11:17 +01:00
Erwan Ameil
49e9332661 Use defaut nil callback for execProcesses 2014-11-02 16:06:01 +01:00
Erwan Ameil
2f3add99bb Change empty callback into nil 2014-11-02 15:55:33 +01:00
Simon Krauter
f3d7158d5d Fix terminate() and add kill() 2014-11-02 03:00:47 +01:00
Erwan Ameil
06c32aab29 Tidy up the prettification of the default verbosity c compilation output 2014-10-13 01:54:44 +02:00
Erwan Ameil
679aefd89c Prettify compiler output for verbosity=1
Long lines displaying the invocation of the c compiler are replaced
with short, readable lines.
2014-10-12 23:30:32 +02:00
Erik O'Leary
09f177e0cc patched fdset call in osproc 2014-10-10 22:49:44 -05:00
Araq
7333237be6 'nimfix' improvements; FdSet is TFdSet again 2014-09-08 08:46:35 +02:00
Dominik Picheta
cda457c865 Fixes osproc on Windows. 2014-09-06 12:15:31 +01:00
Araq
14468988ba udpated osproc.nim 2014-08-28 22:53:32 +02:00
Araq
4523b29d7a Nimrod renamed to Nim 2014-08-28 09:59:26 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
df172806ea big rename 2014-08-28 00:24:52 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
15a7bcc89f renamefest 2014-08-23 01:59:59 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
jfhg
26ba9e6d32 fix build on DragonFly BSD and FreeBSD 2014-07-23 22:47:16 +02:00
Araq
be229163af Merge branch 'new_spawn' of https://github.com/Araq/Nimrod into new_spawn 2014-06-01 22:00:06 +02:00
Andreas Rumpf
208a594ff1 Merge pull request #1178 from EXetoC/nostackframe
noStackFrame -> asmNoStackFrame
2014-05-29 02:15:01 +02:00
EXetoC
f66f43bca0 Fix more 'undeclared identifier' errors. 2014-05-14 18:12:47 +02:00
Araq
6195dbe491 initial non-compiling version of 'parallel' 2014-05-12 11:12:37 +02:00
EXetoC
0a0b74bc24 asmNoStackFrame -> stackTrace:off 2014-05-04 22:48:53 +02:00
EXetoC
8d19b09959 noStackFrame -> asmNoStackFrame 2014-05-04 16:07:37 +02:00
Araq
4075159933 reintroduce thread analysis but disable it for backwards compatibility 2014-04-20 22:15:25 +02:00
Grzegorz Adam Hankiewicz
de04c97696 Improves startProcess docstring for poEvalCommand usage. 2014-04-16 23:14:13 +02:00
Araq
121553d1a6 osproc compiles again for haiku 2014-03-10 17:32:50 +01:00
Michał Zieliński
f4371bfef8 osproc: add warning about using waitForExit without poParentStreams 2014-02-27 19:52:04 +01:00
Michał Zieliński
7314f11adc osproc: MacOSX fix - if -> when 2014-02-24 17:45:45 +01:00
Michał Zieliński
30a3098095 osproc: MacOSX workaround for lack of execvpe 2014-02-24 17:01:00 +01:00
Andreas Rumpf
00b69192f2 Merge pull request #953 from zielmicha/vfork
osproc: increase stack size from 8k to 64k and disable useClone default
2014-02-23 21:43:00 +01:00
Michał Zieliński
6712aa6e38 osproc: use fork by default on Linux, clone if requested by useClone flag 2014-02-23 21:06:40 +01:00
Michał Zieliński
95eb2b88e6 osproc: increase stack size from 8k to 64k 2014-02-23 21:01:03 +01:00
Andreas Rumpf
46967f921a Merge pull request #917 from zielmicha/vfork
osproc: Raise exception if execv fails in child process
2014-02-23 19:49:19 +01:00
Michał Zieliński
1f376d8594 osproc: use push stacktrace:off instead of nostackframe 2014-02-18 20:22:40 +01:00
Michał Zieliński
4c09fc110f osproc: make failed execv an exception (when using fork or clone)
startProcessAuxFork creates a pipe, which is used by a child to pass
an error code if execv fails.
2014-02-15 15:09:06 +01:00
Araq
cf544f6a85 fixes #811 2014-02-14 22:37:36 +01:00