about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/XapClient.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/XapClient.pm b/lib/PublicInbox/XapClient.pm
index 7737e30d..1f9ddccc 100644
--- a/lib/PublicInbox/XapClient.pm
+++ b/lib/PublicInbox/XapClient.pm
@@ -40,6 +40,7 @@ sub start_helper {
                 $cmd = [$^X, ($^W ? ('-w') : ()), "-M$cls", '-e',
                         $cls.'::start(@ARGV)', '--' ];
         }
+        push @$cmd, @argv;
         my $pid = spawn($cmd, $env, { 0 => $in });
         my $self = bless { io => $sock, impl => $cls }, __PACKAGE__;
         PublicInbox::IO::attach_pid($sock, $pid);