Create pipeline.py

This commit is contained in:
tpollina 2019-12-10 15:24:23 -08:00 committed by GitHub
parent be2e0844e3
commit dce6a51af9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

11
pipeline.py Normal file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env python
import sys
#get the value of the first parameter which is for example an integer
value = int(sys.argv[1])
#get the value of the first parameter which is for example a string
text = str(sys.argv[2])
#Execute a python cmd with the previous defined variables from php