Create pipeline.py
This commit is contained in:
parent
be2e0844e3
commit
dce6a51af9
11
pipeline.py
Normal file
11
pipeline.py
Normal 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
|
Loading…
Reference in a new issue