Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.stdio;
- import std.file;
- import std.process;
- void main(string[] argv)
- {
- environment["ComSpec"] = `C:/Program Files (x86)/Git/bin/sh.exe`;
- auto pid = spawnShell("dir");
- wait(pid);
- writeln("ok");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement