mirror of https://github.com/yt-dlp/yt-dlp.git
Compare commits
2 Commits
64766459e3
...
1a366403d9
Author | SHA1 | Date |
---|---|---|
bashonly | 1a366403d9 | |
Simon Sawicki | 7e26bd53f9 |
|
@ -300,7 +300,7 @@ jobs:
|
||||||
macos_legacy:
|
macos_legacy:
|
||||||
needs: process
|
needs: process
|
||||||
if: inputs.macos_legacy
|
if: inputs.macos_legacy
|
||||||
runs-on: macos-latest
|
runs-on: macos-12
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
@ -2090,10 +2090,7 @@ Line 1
|
||||||
|
|
||||||
args = [sys.executable, '-c', 'import sys; print(end=sys.argv[1])', argument, 'end']
|
args = [sys.executable, '-c', 'import sys; print(end=sys.argv[1])', argument, 'end']
|
||||||
assert run_shell(args) == expected
|
assert run_shell(args) == expected
|
||||||
|
assert run_shell(shell_quote(args, shell=True)) == expected
|
||||||
escaped = shell_quote(argument, shell=True)
|
|
||||||
args = f'{sys.executable} -c "import sys; print(end=sys.argv[1])" {escaped} end'
|
|
||||||
assert run_shell(args) == expected
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue