mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
Single-quotes now behave as expected for parse_arguments()
This commit is contained in:
parent
98a061b232
commit
23c2c3d84e
@ -123,6 +123,7 @@ sub interpreter {
|
|||||||
|
|
||||||
sub parse_arguments {
|
sub parse_arguments {
|
||||||
my ($self, $arguments) = @_;
|
my ($self, $arguments) = @_;
|
||||||
|
$arguments =~ s/(?<!\\)'/\\'/g;
|
||||||
return shellwords($arguments);
|
return shellwords($arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user