I have the electrum wallet on my Linux PC, and in order to run it i enter electrum
into the command line, but this and many other programs would then require a million open terminals, so I just enter electrum &
, and the & automatically detaches the script and 'creates' a process from it.
My question now is: How can I do this from within python for my own program (which is a tkinter gui), that does exactly the same thing as adding a & to the end of the command? This is probably platform-dependent, but if there is an easy linux version, that would be enough.
I tried googling this issue, but the &
behind the command line is the only solution I actually came across.