fork download
  1. #include<stdlib.h>
  2. #include<stdio.h>
  3.  
  4. int main()
  5. {
  6. system("shutdown /s");
  7. return 0;
  8. }
Success #stdin #stdout #stderr 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
sh: shutdown: not found