Skip to content

How to use arguments with spaces and dots when using $os.cmd() to execute shell commands in pb_hooks? #4945

Answered by ganigeorgiev
AfdhalTan asked this question in Q&A
Discussion options

You must be logged in to vote

I also just noticed that you are inserting extra double quotes around the "Wired connection 1" string. Try to remove them as these quotes are usually needed only for the shell to properly split/extract the args.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AfdhalTan
Comment options

@ganigeorgiev
Comment options

@AfdhalTan
Comment options

@ganigeorgiev
Comment options

Answer selected by AfdhalTan
@AfdhalTan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants