X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=4940c9102116050b86eae9604fafc732b34d849b;hb=f11237c455a6440b5158206dcb2d03850ed1b7b0;hp=25d5501fef9a5342c647f8a42f2c51d0eca5ac90;hpb=e62a4067ee11c99ab0949f6a10fef9a24944095a;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 25d5501f..4940c910 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1234,8 +1234,8 @@ sub spawn_cmd sub { my $subpro = shift; if (isdbg('progress')) { - my $s = "line: $line"; - $s .= ", args: " . join(', ', @$args) if $args && @$args; + my $s = qq{line: "$line"}; + $s .= ", args: " . join(', ', map { defined $_ ? qq{'$_'} : q{'undef'} } @$args) if $args && @$args; dbg($s); } eval { @out = $cmdref->(@$args); };