my $cmd = qq( ssh -n $user " . ./.profile nohup /home/XXX/test.pl"); system($cmd) == 0 || die "$!";