Help for this page
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";
#include <stdlib.h> #include <stdio.h> ... gets(b); printf("Thanks, %s (%s)\n", b, argv[0]); }