String from executeshell

William Dunne via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Apr 29 14:05:24 PDT 2015


I'm trying to run this command:

wget -O - URL | gpg -d and get the result of the action, but I 
can't quite work out to do it.

currently it looks like:

executeShell(escapeShellCommand("wget", "-O", "-", url, "|", 
"gpg", "-D"));

But I can't work out how to pull the string returned with this.

Any help?


More information about the Digitalmars-d-learn mailing list