open(STDIN,"/dev/null"); #do some ops #Change STDIN back to tty system("child process"); open(STDIN,"/dev/null");