Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit b31cfa0

Browse files
authored
Merge pull request #49 from clashman/master
Fix launcher to pass arguments with spaces correctly
2 parents fcab6c6 + ac07075 commit b31cfa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/noah.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if ($> != 0) {
5454

5555
my $init = "/bin/bash -i";
5656
if (@ARGV != 0) {
57-
$init = "@ARGV";
57+
$init = join(" ", map {"'$_'"} @ARGV);
5858
}
5959

6060
my $opts = "";

0 commit comments

Comments
 (0)