Commit graph

258 commits

Author SHA1 Message Date
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
Araq
f95a8df243 fixes #811 2014-02-14 22:19:40 +01:00
Michał Zieliński
cd2bd7fa7b osproc: use clone with CLONE_VM on Linux for faster process spawning 2014-02-14 15:50:28 +01:00
Michał Zieliński
820fdd6348 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-02-09 15:34:18 +01:00
Araq
8215a32edd case consistency for -d:useWinAnsi 2014-02-05 23:46:55 +01:00
Araq
561f6c2d2f Merge branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-02-02 01:38:40 +01:00
Araq
38db937193 merged #811 against devel 2014-02-02 01:22:31 +01:00
Michał Zieliński
11053afff8 osproc: fix naming inconsistiences 2014-01-26 22:30:20 +01:00
Michał Zieliński
e0e0b409e4 Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Conflicts:
	lib/pure/osproc.nim
2014-01-26 17:06:21 +01:00
Araq
de538deb7a should compile on netbsd 2014-01-23 20:43:56 +01:00
Michał Zieliński
ad1a0c51e2 Merge branch 'osproc' into devel
Conflicts:
	lib/posix/posix.nim
	lib/pure/osproc.nim
2014-01-20 13:32:20 +01:00
Erik O'Leary
5d8d1ed8bc Corrected prunesocketset and pruneprocessset
fd sets passed to select() were pruning ready FDs rather than pruning
UN-ready FDs.
2014-01-19 10:51:21 -06:00
Araq
73c6efdf66 'nil' as a statement is deprecated, use an empty 'discard' instead 2014-01-19 16:54:59 +01:00
Araq
286f166304 case consistency for linux 2013-12-29 03:32:46 +01:00
Araq
b731e6ef1c case consistency: cs:partial bootstraps on windows 2013-12-29 03:19:10 +01:00
Araq
438703f59e case consistency: next steps 2013-12-29 01:13:51 +01:00
Araq
92b8fac94a case consistency part 4 2013-12-27 23:10:36 +01:00
Araq
a427648c48 case consistency part 2 2013-12-27 16:35:21 +01:00
Araq
2df9b442c6 case consistency part 1 2013-12-27 15:48:53 +01:00
Michał Zieliński
bdb5c4ad35 Introduce poEvalCommand, poUsePath, fix remaining quoting issues.
- poUsePath is now an alias for poUseShell.
- poEvalCommand should be used when shell evaluation is really needed.
It passes `command` directly to shell/winapi. Requires `args` parameter
to be empty.
2013-12-21 18:46:51 +01:00