PoC Wrapper Scripts
The PoC main program PoC.py requires a prepared environment, which needs to be setup by platform specific wrapper scripts written as shell scripts language (PowerShell/Bash). Moreover, the main program requires a supported Python version, so the wrapper script will search the best matching language environment.
The wrapper script offers the ability to hook in user-defined scripts to prepared
(before) and clean up the environment (after) a PoC execution. E.g. it’s possible
to load the environment variable LM_LICENSE_FILE
for the FlexLM license
manager.
Created Environment Variables
- PoCRootDirectory
The path to PoC’s root directory.
poc.ps1
PoC.ps1
is the wrapper for the Windows platform using a PowerShell script.
It can be debugged by adding the command line switch -D
. All parameters
are passed to PoC.py
.
- -D
Enabled debug mode in the wrapper script.
- Other arguments
All remaining arguments are passed to
PoC.py
.
poc.sh
PoC.sh
is the wrapper for Linux and Unix platforms using a Bash script.
It can be debugged by adding the command line switch -D
. All parameters
are passed to PoC.py
.
- -D
Enabled debug mode in the wrapper script.
- Other arguments
All remaining arguments are passed to
PoC.py
.