Andreas Rumpf
ba63ea9e82
Merge pull request #3454 from jlp765/osproc
...
add simple example for execProcess, exeCmd, execCmdEx
2015-10-23 02:01:26 +02:00
Araq
c977daf9d8
added poDemon flag for process management
2015-10-19 16:09:34 +02:00
JamesP
f596e8145d
add simple example for execProcess, exeCmd, execCmdEx
2015-10-16 23:13:14 +10:00
Araq
dfaa63e805
osproc: fixes a long standing buffering bug on Windows
2015-10-07 10:03:46 +02:00
Aman Gupta
9f33baf51b
add afterRunEvent callback to execProcesses
2015-09-30 19:02:23 -07:00
Araq
27bdf5c45c
osproc: free resources properly for the new poInteractive flag
2015-09-29 20:00:28 +02:00
Araq
5f7ad9131f
added osproc.poInteractive and osproc.hasData; both experimental
2015-09-29 19:30:47 +02:00
Adam Strzelecki
a9f114cf13
osproc: Define and select spawn/fork same way
...
Previously startProcessAuxFork was defined even when it was unused, also the
compile time condition to select spawn vs fork was not always the same for
definitions and calls.
This change just defines the condition in one place as constant, then in other
places we just check for `when useProcessAuxSpawn`.
2015-09-03 18:00:15 +02:00
Dominik Picheta
9b0ac8afa8
Improves osproc.startProcess error message on POSIX. Ref #2183 .
2015-08-23 22:07:37 +01:00
Dominik Picheta
1b73cd41bf
Improves osproc.startProcess error message. Fixes #2183 .
2015-08-23 21:57:45 +01:00
Araq
2297a1aa60
much better error message if an exe cannot be found
2015-06-29 02:48:31 +02:00
Araq
ccb9ae2d52
stdlib: don't use deprecated symbols
2015-06-04 13:18:42 +02:00
pdw
6914244f30
lib/pure/e-o - Dropped 'T' from types
2015-06-04 13:18:35 +02:00
pdw
cb6f867495
Fixed 'milliseconds' spelling in code and docs
2015-05-15 20:15:12 -05:00
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