digitalmars.D.learn - How to start new command with arguments, pass data to its stdin read
- denizzzka (1/1) Oct 23 2012 Something like execv() but with stdin/stdout?
- denizzzka (2/3) Oct 23 2012 Something like popen(), not execv().
- Adam D. Ruppe (10/11) Oct 23 2012 If you're on linux i have a little file that might help:
- denizzzka (3/14) Oct 23 2012 Thanks! It is suitable for my case.
- Regan Heath (5/22) Oct 23 2012 Coming soon I believe. The "new" std.process should support it.
On Tuesday, 23 October 2012 at 11:34:35 UTC, denizzzka wrote:Something like execv() but with stdin/stdout?Something like popen(), not execv().
Oct 23 2012
On Tuesday, 23 October 2012 at 11:34:35 UTC, denizzzka wrote:Something like execv() but with stdin/stdout?If you're on linux i have a little file that might help: http://arsdnet.net/dcode/exec.d int exec( string program, string[] args = null, string input = null, string* output = null, string* error = null, string[] environment = null);
Oct 23 2012
On Tuesday, 23 October 2012 at 12:19:08 UTC, Adam D. Ruppe wrote:On Tuesday, 23 October 2012 at 11:34:35 UTC, denizzzka wrote:Thanks! It is suitable for my case. I think something like this should be in the standard library.Something like execv() but with stdin/stdout?If you're on linux i have a little file that might help: http://arsdnet.net/dcode/exec.d int exec( string program, string[] args = null, string input = null, string* output = null, string* error = null, string[] environment = null);
Oct 23 2012
On Tue, 23 Oct 2012 13:29:59 +0100, denizzzka <4denizzz gmail.com> wrote:On Tuesday, 23 October 2012 at 12:19:08 UTC, Adam D. Ruppe wrote:Coming soon I believe. The "new" std.process should support it. R -- Using Opera's revolutionary email client: http://www.opera.com/mail/On Tuesday, 23 October 2012 at 11:34:35 UTC, denizzzka wrote:Thanks! It is suitable for my case. I think something like this should be in the standard library.Something like execv() but with stdin/stdout?If you're on linux i have a little file that might help: http://arsdnet.net/dcode/exec.d int exec( string program, string[] args = null, string input = null, string* output = null, string* error = null, string[] environment = null);
Oct 23 2012