-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Escape special characters in the command #10
Comments
The list: |
Hey, I found something in the subprocess module documentation, which you can use
|
It seems that args should be a sequence of program arguments, or a string with shell set to True. Something about
|
It seems that use a sequence of program arguments as args will be a good idea, you don't have to worry about the special characters(except " if I use "blabla").
|
Since I use
notify-send
to show the notify, and there may be some special characters in thecontent
, for example,(
,)
,'
, we need to do something.The text was updated successfully, but these errors were encountered: