forked from lix-project/hydra
* Autoflush stdout.
This commit is contained in:
parent
97a6011628
commit
c48ec3d340
|
@ -7,6 +7,8 @@ use Hydra::Schema;
|
||||||
use Hydra::Helper::Nix;
|
use Hydra::Helper::Nix;
|
||||||
|
|
||||||
|
|
||||||
|
STDOUT->autoflush();
|
||||||
|
|
||||||
my $db = openHydraDB;
|
my $db = openHydraDB;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ my $db = openHydraDB;
|
||||||
my $hydraHome = $ENV{"HYDRA_HOME"};
|
my $hydraHome = $ENV{"HYDRA_HOME"};
|
||||||
die "The HYDRA_HOME environment variable is not set!\n" unless defined $hydraHome;
|
die "The HYDRA_HOME environment variable is not set!\n" unless defined $hydraHome;
|
||||||
|
|
||||||
|
STDOUT->autoflush();
|
||||||
|
|
||||||
#$SIG{CHLD} = 'IGNORE';
|
#$SIG{CHLD} = 'IGNORE';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,8 @@ use IPC::Run;
|
||||||
use POSIX qw(strftime);
|
use POSIX qw(strftime);
|
||||||
|
|
||||||
|
|
||||||
|
STDOUT->autoflush();
|
||||||
|
|
||||||
my $db = openHydraDB;
|
my $db = openHydraDB;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue