Guest User

Untitled

a guest
Feb 16th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. /+dub.sdl:
  2. dependency "automem" version="~>0.4.6"
  3. +/
  4. void main()
  5. {
  6. import std.exception, std.stdio, std.process;
  7.  
  8. auto result = ["whoami"].execute;
  9. enforce(result.status == 0);
  10. result.output.write;
  11. }
Add Comment
Please, Sign In to add comment