Guest User

Untitled

a guest
Nov 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. <?php
  2. $e = Exec::withCommandLine($cmd)->launch();
  3. if ($e->getResultCode() !== 0) {
  4. $message = join("\n", $e->getOutput());
  5. throw new Exception($message);
  6. }
Add Comment
Please, Sign In to add comment