mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-26 07:57:58 +00:00
parallel: --results uses stdout\t rather than stdout_ in file names.
This commit is contained in:
parent
b170f88593
commit
141eb4d5ea
|
@ -3215,13 +3215,13 @@ sub openresultsfile {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my $args_as_filename = $self->{'commandline'}->args_as_filename();
|
my $args_as_filename = $self->{'commandline'}->args_as_filename();
|
||||||
my ($outfh,$errfh,$name);
|
my ($outfh,$errfh,$name);
|
||||||
$name = $::opt_results."stdout_".$args_as_filename;
|
$name = $::opt_results."stdout\t".$args_as_filename;
|
||||||
if(not open($outfh,"+>",$name)) {
|
if(not open($outfh,"+>",$name)) {
|
||||||
::error("Cannot write to `$name'.\n");
|
::error("Cannot write to `$name'.\n");
|
||||||
::wait_and_exit(255);
|
::wait_and_exit(255);
|
||||||
}
|
}
|
||||||
$self->set_stdoutfilename($name);
|
$self->set_stdoutfilename($name);
|
||||||
$name = $::opt_results."stderr_".$args_as_filename;
|
$name = $::opt_results."stderr\t".$args_as_filename;
|
||||||
if(not open($errfh,"+>",$name)) {
|
if(not open($errfh,"+>",$name)) {
|
||||||
::error("Cannot write to `$name'.\n");
|
::error("Cannot write to `$name'.\n");
|
||||||
::wait_and_exit(255);
|
::wait_and_exit(255);
|
||||||
|
|
Loading…
Reference in a new issue