Skip to content

Understanding scripts

Deepak Balaji edited this page Apr 4, 2020 · 2 revisions

This page explains why the scripts directory exists

Recommendations from 6.2.6 to 6.2.19 for Distribution Independent Linux and Debian 9, and 6.2.3, 6.2.7 to 6.2.19 for Ubuntu 18.04 LTS requires some scripts to be run in order to test their adherence to the control.

Hence, these scripts are stored as a shell file, appropriately named with their functionality.

With PyInstaller, these scripts are bundled and extracted in a temporary folder, where noexec is set. Hence, to actually run the script, it is first copied to the program call directory, executed and then deleted once the test has been performed. The temporary folder is deleted in it's entirety once the program has finished executing successfully. For more information on the temporary folder, read this wiki.

Clone this wiki locally