MySQL Shell API 9.0.0
Unified development interface for MySQL Products
|
Gives access to system specific parameters. More...
Methods | |
virtual shcore::Value | get_member (const std::string &prop) const |
Contains the list of arguments available during a script processing. More... | |
Gives access to system specific parameters.
|
virtual |
Contains the list of arguments available during a script processing.
When the shell is used to execute a script, the arguments passed to the shell after the script name will be considered script arguments and will be available during the script execution at sys.argv which will contain:
For example, given the following call:
The sys.argv array will contain:
Lists the search paths to load the JavaScript modules.
When the shell is launched, this variable is initialized to
Users may change the sys.path variable at run-time.
If sys.path contains a relative path, its absolute path is resolved as a relative to the current working directory.