Execute Native Scripts


[Up] [Top]

Documentation for package ‘scriptexec’ version 0.3.1

Help Pages

scriptexec-package scriptexec: Execute native scripts
build_output Builds the output structure.
create_script_file Creates a temporary file, writes the provided script content into it and returns the file name.
create_system_call_args Returns the system call arguments.
execute Executes a script and returns the output. The stdout and stderr are captured and returned. In case of errors, the exit code will return in the status field.
generate_args_setup_script Generates and returns a script which sets up the env vars for the script arguments
generate_env_setup_script Generates and returns a script which sets up the env vars for the script execution.
get_command Returns the command and arguments needed to execute the provided script file on the current platform.
get_platform_value Returns the value based on the current platform.
is_windows Returns true if windows, else false.
modify_script Modifies the provided script text and ensures the script content is executed in the correct location.
on_invoke_error Internal error handler.
scriptexec scriptexec: Execute native scripts