ipymol icon indicating copy to clipboard operation
ipymol copied to clipboard

(quick fix) WindowsError: [Error 2] The system cannot find the file specified

Open iobataya opened this issue 2 years ago • 0 comments

This issue may be Windows-specific. During MolViewer.start(), the error above pops up. It seemd that the OS cannot find a file for a command dir for its shell, but it fails.

This can be fixed quickly by adding shell=True for subprocess.Popen

self._process = subprocess.Popen([exe, "-R"] + list(args), shell=True)

I hope this helps. I really appreciate your project ;-)

iobataya avatar Oct 28 '23 12:10 iobataya