I am opening a pdf file with my default application using subprocess.call, like this:
subprocess.call(["xdg-open", pdf], stderr=STDOUT)
But, when running that, the process is attached to the terminal and I want to detach it. Basically, I want to run that and then be able to use the terminal for other stuff.
How would I go about doing that?