digitalmars.D.learn - How to read output of a script
- Cheng Wei (5/5) Sep 20 2011 In D2, how can we get the output of running a script.
- Jonathan M Davis (3/8) Sep 20 2011 std.process.shell
- Cheng Wei (5/5) Sep 20 2011 Thanks a lot.
- Jonathan M Davis (8/13) Sep 20 2011 That's easily answered. It looks like the documentation is on the window...
- alex (2/15) Sep 21 2011 One for linux =)
In D2, how can we get the output of running a script. We can use 'system' to run the script, but how we cannot assign the standard output of the running script. Is there any way to do it, or whether it will be included into future version of std.process? Thanks a lot.
Sep 20 2011
On Wednesday, September 21, 2011 03:31:11 Cheng Wei wrote:In D2, how can we get the output of running a script. We can use 'system' to run the script, but how we cannot assign the standard output of the running script. Is there any way to do it, or whether it will be included into future version of std.process? Thanks a lot.std.process.shell - Jonathan M Davis
Sep 20 2011
Thanks a lot. Weird. It is not in the library reference in http://www.d-programming- language.org/, but it is in the library reference in digitalmars.com. I throught the previous one was the official web site now. It seems it still is not synced well.
Sep 20 2011
On Wednesday, September 21, 2011 04:40:34 Cheng Wei wrote:Thanks a lot. Weird. It is not in the library reference in http://www.d-programming- language.org/, but it is in the library reference in digitalmars.com. I throught the previous one was the official web site now. It seems it still is not synced well.That's easily answered. It looks like the documentation is on the windows version of the function instead of in a version block specifically for the documentation. Obviously, that needs to be fixed. I know that when Walter generates the docs for the digitalmars site and the zip file, he uses Windows, and my guess is that Andrei uses Linux for d-programming-language.org. Regardless, d-programming-language.org is the official site now. - Jonathan M Davis
Sep 20 2011
On 09/20/2011 10:51 PM, Jonathan M Davis wrote:On Wednesday, September 21, 2011 04:40:34 Cheng Wei wrote:One for linux =)Thanks a lot. Weird. It is not in the library reference in http://www.d-programming- language.org/, but it is in the library reference in digitalmars.com. I throught the previous one was the official web site now. It seems it still is not synced well.That's easily answered. It looks like the documentation is on the windows version of the function instead of in a version block specifically for the documentation. Obviously, that needs to be fixed. I know that when Walter generates the docs for the digitalmars site and the zip file, he uses Windows, and my guess is that Andrei uses Linux for d-programming-language.org. Regardless, d-programming-language.org is the official site now. - Jonathan M Davis
Sep 21 2011