remove needless "-x" option, now that (1) we can't handle remote SPASS anymore; and (2) we can a priori parse the SPASS syntax in "Sledgehammer_Proof_Reconstruct" anyway
#!/usr/bin/env perl
#
# Author: Makarius
#
# bash - invoke shell command line (with robust signal handling)
#
use warnings;
use strict;
# args
my ($group, $script_name, $pid_name, $output_name) = @ARGV;
# process id
if ($group eq "group") {
use POSIX "setsid";
POSIX::setsid || die $!;
}
open (PID_FILE, ">", $pid_name) || die $!;
print PID_FILE "$$";
close PID_FILE;
# exec script
exec qq/exec bash '$script_name' > '$output_name'/;