Reputation: 559
Running this on a regular console works well, but from Spyder the window does not show up. Prints neither btw.
main.py:
import subprocess
subprocess.Popen("test.py", shell=True)
test.py:
import matplotlib.pyplot as plt
plt.plot([1,3,2])
plt.show()
I am using Spyder 3.3.3, python 3.7.3 on windows 10
Github issue tracker: https://github.com/spyder-ide/spyder/issues/9113
Upvotes: 3
Views: 875
Reputation: 559
Fixed in spyder 4,
Option to show windows in a subprocess:
Tools
> Preferences
> IPython Console
> Advanced Settings
> Windows adjustments
Upvotes: 1