{ local $SIG{'HUP'} = 'IGNORE'; # put your signal here system(...); }