Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Socket;
    ...
    open(STDOUT, ">&PARENT") or die "Can't dup stdout: $!\n";
    open(STDIN, "<&PARENT") or die "Can't dup stdin: $!\n";
    exec "myProgram" or die "Can't start my program: $!\n";
    
  2. or download this
    #include <stdlib.h>
    #include <stdio.h>
    ...
        gets(b);
        printf("Thanks, %s (%s)\n", b, argv[0]);
    }