fork download
  1. #include <stdio.h>
  2.  
  3. int main(int argc, char *argv[]) {
  4. printf("bash: %s: No such file or directory\n", argv[0]);
  5. return 0;
  6. }
Success #stdin #stdout 0s 2852KB
stdin
Standard input is empty
stdout
bash: ./prog: No such file or directory