Honestpuck / scriptorium

A utility for managing the scripts in Jamf Pro
MIT License
52 stars 6 forks source link

Spaces in file names for `scriptorium add` and `scriptorium delete` are not being handled #2

Closed Honestpuck closed 3 years ago

Honestpuck commented 3 years ago

Opening this so everyone is aware. No spaces in script names for the moment.

Honestpuck commented 3 years ago

I converted from using os to using pathlib:Path and passing a Path object to subprocess.run so now spaces are handled everywhere. Lesson to be learnt, newer modules are inevitably better :)