I am trying to use a subprocess in python to run some scripts on linux, but my path does not work on what I am trying to do..
I am using:
subprocess.Popen(["nohup", "python", DIR4, DIR2 + dirname + /*  + '/*.json'])
DIR4 = path of python, DIR2+dirname is the directory I want to go into.
From here I want to use all sub directories in DIR2+dirname and all json files in all the subdirectories. 
so for example:
 DIR2+dirname = /tmp/test/ 
in the /tmp/test/ directory, there are /tt1, /tt2, /tt3 
each /tt directories contains 1.json, 2.json, 3.json
How can I call this all using my command all the way on top?
 
     
     
     
    