2019-12-11 00:24:23 +01:00
|
|
|
#!/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
|
2019-12-11 00:29:34 +01:00
|
|
|
string = str(sys.argv[2])
|
2019-12-11 00:24:23 +01:00
|
|
|
|
|
|
|
#Execute a python cmd with the previous defined variables from php
|