From: Dirk Koopman Date: Fri, 17 Apr 2020 00:32:27 +0000 (+0100) Subject: make save a non-spawnable cmd X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=9c8ae21bbf6c6c51c04f62b18b613bbf42a375ca;p=spider.git make save a non-spawnable cmd --- diff --git a/cmd/save.pl b/cmd/save.pl index bf24000e..dce7b49c 100644 --- a/cmd/save.pl +++ b/cmd/save.pl @@ -44,7 +44,9 @@ if ($rest =~ /^\s*\"/) { } open OF, "$app_req$fn" or return (1, $self->msg('e30', $fn)); for (@cmd) { + $self->{_nospawn} = 1; print OF map {"$_\n"} $self->run_cmd($_); + delete $self->{_nospawn}; } close OF; return (1, $self->msg('ok'));