I am trying to open a new console terminal from Rust. With the help of documentation, I was capable of starting a terminal in the current terminal window, but not in another one.
For example, imagine I have one folder with two files main.py
and bb.py
and the following code does the thing I want
import os
os.system("start cmd /K python bb.py")
It opens a new terminal, and in this new terminal the command python bb.py
is executed. How can I do this in Rust?