Created
August 13, 2022 14:08
-
-
Save zeroxia/05269debf1eb55b776fa66b0c58267be to your computer and use it in GitHub Desktop.
This script can be executed as shell script while it is actually a python script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## | |
## This script can be executed as shell script while it is actually a python script. | |
## | |
unused=""" | |
" | |
echo 'python3 "'$0'"' "$@" | |
exec python3 "$0" "$@" | |
" | |
""" | |
import sys | |
print("args: {}".format(sys.argv)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment