Steven Schveighoffer
cdd73be74c
Merge pull request #3148 from CyberShadow/pull-20150405-052650-process-14408
...
fix Issue 14408 - std.process: Can't start interactive process from Wind...
2015-04-09 14:13:05 -04:00
Steven Schveighoffer
eecc989b2c
Merge pull request #3160 from CyberShadow/pull-20150407-122150
...
fix Issue 14422 - std.process: Pipes do not append to files on Win64
2015-04-09 10:28:18 -04:00
Vladimir Panteleev
b28eb9fab8
fix Issue 14422 - std.process: Pipes do not append to files on Win64
2015-04-07 15:29:12 +00:00
Vladimir Panteleev
237a1c1477
fix Issue 14408 - std.process: Can't start interactive process from Windows GUI application
2015-04-05 05:32:08 +00:00
Vladimir Panteleev
865f36fcce
Merge pull request #3051 from MartinNowak/fix14282
...
fix Issue 14282 - executeShell should use sh and ignore the SHELL env variable
2015-04-04 04:33:42 +00:00
Rainer Schuetze
3566651cbb
fix version: use CRuntime_Microsoft instead of Win64
2015-03-20 08:54:12 +01:00
Martin Nowak
a524a3571b
fix Issue 14282 - executeShell should use sh and ignore the SHELL env variable
2015-03-13 21:33:51 +01:00
Daniel Murphy
f255c9e689
Replace more implicit array to bool conversions
2015-01-28 16:33:12 +11:00
Ferdinand Majerech
60f87c0f26
Mention that invalid process IDs are negative.
2015-01-24 16:50:11 +01:00
Andy Colson
6610dc55e1
std.process example code
2015-01-20 20:40:42 -06:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
acba2b66ec
std.process: clean imports
...
fix
fix
fix
fix
fix
2014-11-15 19:15:18 +03:00
Martin Nowak
c855945f46
Merge pull request #2614 from Geod24/fix-license-doc
...
[DDOC] Usage of WEB macro for License everywhere
2014-10-17 00:16:49 +02:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Joakim
093d636de4
Deprecate std.c.* and move all remaining declarations to core.stdc.*
2014-10-14 09:26:21 -05:00
H. S. Teoh
d12ab1cf38
Merge pull request #2503 from CyberShadow/pull-20140909-141704
...
fix Issue 13446 - Can't use executeShell/escapeShellFileName to redirect to file whose name starts with &
2014-09-19 12:38:56 -07:00
H. S. Teoh
449ab2a39e
Merge pull request #2514 from CyberShadow/pull-20140915-022527
...
fix Issue 13477 - std.process should ignore unnamed service variables on Windows
2014-09-19 11:40:33 -07:00
Vladimir Panteleev
4e60afae79
fix Issue 13477 - std.process should ignore unnamed service variables on Windows
2014-09-18 19:27:52 +00:00
Brad Roberts
8d1c89d2a6
Merge pull request #2432 from rainers/coff32
...
COFF support for Win32
2014-09-11 13:55:13 -07:00
Vladimir Panteleev
337d82bb37
fix Issue 13446 - Can't use executeShell/escapeShellFileName to redirect to file whose name starts with &
...
Discovered and verified by -version=unittest_burnin
2014-09-11 09:38:36 +00:00
Andrej Mitrovic
f35c21972f
Merge pull request #2504 from CyberShadow/pull-20140909-143654
...
fix Issue 13447 - Do not escape process parameters unless necessary
2014-09-09 18:04:05 +02:00
Andrej Mitrovic
d479da3392
Merge pull request #2502 from CyberShadow/pull-20140909-140509
...
fix Issue 13445 - std.process fails to create process with empty (non-null) working directory
2014-09-09 17:26:14 +02:00
Ketmar Dark
462163a5b0
std.process: Fix using 0 as invalid FD value, use -1 instead
2014-09-09 14:45:48 +00:00
Vladimir Panteleev
09a0b876c8
fix Issue 13447 - Do not escape process parameters unless necessary
2014-09-09 14:38:01 +00:00
Vladimir Panteleev
e0392714f9
std.process: Test random characters at filename start as well
2014-09-09 14:21:33 +00:00
Vladimir Panteleev
f20482cca5
std.process: Update unittest_burnin to test new functions
2014-09-09 14:20:35 +00:00
Vladimir Panteleev
53f5405a51
fix Issue 13445 - std.process fails to create process with empty (non-null) working directory
2014-09-09 14:12:47 +00:00
Vladimir Panteleev
d7096b1947
std.process: @safe/nothrow cleanup
2014-09-09 11:32:32 +00:00
k-hara
afbe12f1b1
fix property enforcement
2014-09-06 08:57:15 +09:00
Rainer Schuetze
3ed25d61ae
use CRuntime_DigitalMars/CRuntime_Microsoft instead of Win32/Win64 where appropriate
2014-08-23 16:14:18 +02:00
Denis Shelomovskij
ff144b0ae0
Replace most toStringz
/toUTF16z
/toUTFz
usages with tempCString*
ones.
...
Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
2014-08-23 17:23:13 +04:00
Михаил Страшун
091f2eb4fc
Merge pull request #2413 from kyllingstad/deprecate-windows-execv
...
Deprecate std.process.execv function family on Windows
2014-08-14 14:32:46 +02:00
Lars T. Kyllingstad
b12a39ff18
Added deprecation message details to execv*()
2014-08-14 10:14:37 +02:00
Lars T. Kyllingstad
f22cd86578
Fixed std.process.system() deprecation message
...
wait(spawnProcess(command)) is a closer match to system(command).
2014-08-13 08:45:47 +02:00
Lars T. Kyllingstad
b2d1f4e30a
Deprecate execv function family on Windows
...
For the discussions that led to the decision of deprecating these
functions on Windows, but not POSIX, see:
http://forum.dlang.org/thread/l4nav4$q9r$1@digitalmars.com
http://lists.puremagic.com/pipermail/phobos/2014-August/008827.html
2014-08-10 23:04:19 +02:00
Lars T. Kyllingstad
e4bc25ebe4
Remove unused test in std.process
...
This seems like a remnant from when the first version of std.process was
being developed. It does not appear to be in use today, so there is no
reason to keep it around.
2014-08-10 22:36:03 +02:00
Lars T. Kyllingstad
8ce300ac97
Deprecated most of the old std.process functions
...
I have purposefully omitted doing anything about the exec* function
family here, as their fate is still under discussion.
2014-08-07 21:21:19 +02:00
H. S. Teoh
5ec57d16a6
Merge pull request #2400 from CyberShadow/std-process-close
...
fix Issue 13258 - std.process file closing logic is incorrect
2014-08-05 10:58:43 -07:00
Vladimir Panteleev
9ba4f81ece
fix Issue 13258 - std.process file closing logic is incorrect
2014-08-05 06:57:50 +00:00
Joakim
a5f2d0f684
Tweaks to get the tests running inside an Android apk
2014-08-04 23:33:31 -05:00
Daniel Murphy
e3cdb418ea
Merge pull request #1873 from lionello/bug4483
...
Preparation for issue 4483, specifying foreach char iteration type
2014-07-16 21:59:26 +10:00
Joakim
dc67efc3c4
Deprecate std.c.string and move its contents to druntime
2014-07-13 12:47:26 -05:00
Михаил Страшун
3ee34072a6
Merge pull request #2150 from joakim-noah/android
...
Get tests passing on Android/x86
2014-07-12 04:05:07 +03:00
Lars T. Kyllingstad
b7af42bafa
Fix issue #13100 - std.process.setCLOEXEC() throws
...
There are two cases in which the fcntl() calls may fail:
1) the file descriptor is invalid, in which case errno == EBADF,
2) they receive invalid arguments, in which case errno == EINVAL.
We just want to ignore the error in the former case, as evidenced by
the bug report, and the latter means that we have an error in
std.process, which is best handled by an assertion. (Note that it was
never possible to catch the exception anyway, since it was thrown in
the child process.)
2014-07-11 21:09:49 +02:00
Joakim
11de397dd7
Start getting tests passing on Android/x86
2014-07-09 17:52:15 -05:00
Denis Shelomovskij
176f1246f3
Issue 12898 - std.process.browse
expects URL to be encoded in CP_ACP on Windows instead of UTF-8
...
Use Unicode version of `ShellExecute` in `std.process.browse`.
Also remove needless `ShellExecuteA` declaration.
2014-06-12 17:42:09 +04:00
Martin Krejcirik
0812ecd1f6
Fix missing program name in std.process.spawnProcessImpl exception message.
2014-06-10 01:45:33 +02:00
monarch dodra
f07abda274
Fix Issue 11308 - Don't use Voldemort types for std.process output
...
So that the return type of `execute` and `executeShell` are compatible.
2014-04-18 08:10:35 +02:00
Lars T. Kyllingstad
46d8bdf779
Merge pull request #1928 from CyberShadow/std-process-cwd
...
std.process: Add workDir parameter
2014-03-04 23:00:40 +01:00
Rainer Schuetze
40c14681f3
std.digest.sha: disable SSSE3 for SHA because it has unsupported calling convention
...
std.format, std.math: workarounds for different behaviour of sprintf
std.conv: workarounds for different behaviour of strtold
std.math: disable unittests for exp2f and exp2l
std.math: fix lrint(real), disable tmpfile test
std.process: seek to end of file before trying to append to it from another process
std.process: do not try to terminate an invalid process handle
win64.mak: disable COMDAT folding for release build
2014-02-27 22:16:29 +01:00