MCPcopy Create free account
hub / github.com/geekcomputers/Python / instasubprocess

Function instasubprocess

insta_monitering/subpinsta.py:7–25  ·  view source on GitHub ↗
(user, tags, type, productId)

Source from the content-addressed store, hash-verified

5
6
7def instasubprocess(user, tags, type, productId):
8 try:
9 child_env = sys.executable
10 file_pocessing = (
11 os.getcwd()
12 + "/insta_datafetcher.py "
13 + user
14 + " "
15 + tags
16 + " "
17 + type
18 + " "
19 + productId
20 )
21 command = child_env + " " + file_pocessing
22 result = subprocess.Popen(command, shell=True)
23 result.wait()
24 except:
25 print("error::instasubprocess>>", sys.exc_info()[1])
26
27
28if __name__ == "__main__":

Callers 2

subpinsta.pyFile · 0.85
background_taskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected