Closed
Description
0001a600: 2321 2243 3a5c 5072 6f67 7261 6d20 4669 #!"C:\Program Fi
0001a610: 6c65 735c 5079 7468 6f6e 3331 305c 7079 les\Python310\py
0001a620: 7468 6f6e 2e65 7865 220a 0d0a 504b 0304 thon.exe"...PK..
^^^^^^^
ScriptMaker._build_shebang
hardcoded a b'\n'
.
Lines 169 to 170 in 888c48b
However, ScriptMaker._write_script
will check for b'\r\n'
, which is non existant.
Lines 255 to 257 in 888c48b
Remove the hardcoded b'\n'
and let ScriptMaker._write_script
to generate newline for shebang is more universal but check for a single b'\n'
on windows might be better.
Metadata
Metadata
Assignees
Labels
No labels