projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nospawnify some of the commands
[spider.git]
/
perl
/
DXProt.pm
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index 7c1ed1a4e0d2a976015d465abfb465e2409357f2..8b9026c1f700e71945feda5329efcf9b2b431f95 100644
(file)
--- a/
perl/DXProt.pm
+++ b/
perl/DXProt.pm
@@
-1216,6
+1216,9
@@
sub spawn_cmd
my $fc = Mojo::IOLoop::Subprocess->new;
my $fc = Mojo::IOLoop::Subprocess->new;
+ # just behave normally if something has set the "one-shot" _nospawn in the channel
+ return ($cmdref->(@$args)) if $self->{_nospawn};
+
# $fc->serializer(\&encode_json);
# $fc->deserializer(\&decode_json);
$fc->run(
# $fc->serializer(\&encode_json);
# $fc->deserializer(\&decode_json);
$fc->run(