Closed chaseruskin closed 3 years ago
An issue arose related to: https://stackoverflow.com/questions/3022013/windows-cant-find-the-file-on-subprocess-call. PATH is not found unless shell=True
for subprocesses, which is discouraged to enable. This was an issue encountered when editor = code
. Reverted execution back to using os.system()
due to stability and because there are few calls for the tool to execute (mainly opening windows in the configured text-editor).
Subprocess is more versatile and provides better functionality compared to os.system().
Create an "execute" method to be wrap subprocess call.