X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnector%2FLocal.pm;h=4900037ebe21b3576ea86f4c33cecb221e40b3bc;hp=33f599f85c5d3ac74693e9456a368593028976fc;hb=ad4f54b29c5f84aa010b456303b24647c0e28ae7;hpb=9e72f0cf54e92bccdba71eb75037f1cfe4f69f36 diff --git a/lib/Object/Remote/Connector/Local.pm b/lib/Object/Remote/Connector/Local.pm index 33f599f..4900037 100644 --- a/lib/Object/Remote/Connector/Local.pm +++ b/lib/Object/Remote/Connector/Local.pm @@ -6,7 +6,7 @@ use Moo; sub connect { # XXX bin/ is wrong but meh, fix later - my $pid = open2(my $its_stdin, my $its_stdout, 'bin/object-remote-node') + my $pid = open2(my $its_stdout, my $its_stdin, 'bin/object-remote-node') or die "Couldn't start local node: $!"; Object::Remote::Connection->new( send_to_fh => $its_stdin,