output debugging messages to stderr, not stdout

This commit is contained in:
Hieu Hoang 2015-05-05 12:01:21 +04:00
parent d456d9229e
commit 8f272e04a9

View File

@ -24,5 +24,5 @@ my $cmd = "$BIN --text $TEXT --order $ORDER --arpa $LM $settings";
$cmd .= " -T $TMPDIR" if defined($TMPDIR);
$cmd .= " -S $MEMORY" if defined($MEMORY);
$cmd .= " " . join(' ', @ARGV) if scalar(@ARGV); # Pass remaining args through.
print "exec: $cmd\n";
print STDERR "Executing: $cmd\n";
`$cmd`;