From 685f3f6c6c7851b7f63b04cd22b70b21a7d34a2d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 16 Feb 2012 16:45:51 +0100 Subject: [PATCH] run: make ssh allocate a PTY --- lib/bin/bex-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bin/bex-run b/lib/bin/bex-run index 66b9efc..270c0ce 100755 --- a/lib/bin/bex-run +++ b/lib/bin/bex-run @@ -131,7 +131,7 @@ sub run_job_body($$$) { update_status($mach, $jid, 'RUN', $queue); my $lf = $queue->log_file($mach, $jid); - system 'bash', '-o', 'pipefail', '-c', "$BEX::Config::ssh_command $host '$rtmp ; e=\$? ; rm -f $rtmp ; exit \$e' 2>&1 | tee -a $lf"; + system 'bash', '-o', 'pipefail', '-c', "$BEX::Config::ssh_command -t $host '$rtmp ; e=\$? ; rm -f $rtmp ; exit \$e' 2>&1 | tee -a $lf"; if ($?) { return ('FAILED', 'Job failed ' . exit_status($?)); } else { -- 2.39.2