Skip to content

Commit

Permalink
Avoid potential 'Inappropriate ioctl for device' errors when ccat tri…
Browse files Browse the repository at this point in the history
…es to write to stderr
  • Loading branch information
Michael Nuhn committed Jan 28, 2016
1 parent 974c871 commit eb045df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/Bio/EnsEMBL/Funcgen/Sequencing/PeakCaller/CCAT.pm
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ sub run {
$conf_file,
$out_prefix,
'>',
$out_prefix.'.log');
$out_prefix.'.log',
'2>',
$out_prefix.'.stderr.log'
);
#WARNING!
#Do not remove this redirect to log file, as th CCAT binary will expect that
#it is directly attached to a terminal and fails with:
Expand Down

0 comments on commit eb045df

Please sign in to comment.