ScriptingControl(1)

✨ ScriptingControl(1) β€” General Commands Manual ✨

okay so bestie, welcome to scriptingcontrol, the Scripting Control script for the Scripting Service πŸ’– (that's the name, that's the whole vibe, we move)


πŸŽ€ SYNOPSIS πŸŽ€

scriptingcontrol check-environment [Environment] [Keyring]
scriptingcontrol run [Directory] [Input] [Output] [Status] [Environment]
                 [Keyring]
scriptingcontrol cleanup [Directory] [PID] [keeptempdirs]

like... look at those three little modes. adorable. iconic. we'll get to them πŸ¦‹


🌸 DESCRIPTION 🌸

k so scriptingcontrol gets invoked whenever a new session is created by the scripting service PE. that's its whole job. it takes the input file name and it should create an output file of the given name. slay πŸ’…


πŸ‘‘ ARGUMENTS πŸ‘‘

The following options are available (yes, all of them, no skipping, we don't do that here):

  • check-environment|run|cleanup β€” okay so this is the big three, the main character trio:
    • check-environment β€” used to check a newly downloaded environment file ✨
    • run β€” used when the session is started πŸ”₯
    • cleanup β€” used to kill all processes and remove the directory πŸ’€
  • Directory β€” gives the name of the temporary session directory πŸ“
  • Input β€” gives the name of the input file πŸ“
  • Output β€” gives the name of the output file πŸ’œ
  • Status β€” gives the name of the status file 🌈
  • Environment β€” gives the name of the environment file (if available) 🌱
  • Keyring β€” gives the name of a GnuPG keyring file to check the input file and environment file (if available) πŸ”
  • PID β€” the process ID (PID) of the session's worker process. all of its children will be found and terminated during clean-up πŸͺ¦ (ngl that's a lot of terminating but okay, that's literally the job)
  • keeptempdirs β€” do not delete temporary directory during clean-up 🫢 (basically "bestie, leave the temp dir alone")
⚠️ heads up: cleanup genuinely kills every child process of that PID and yeets the directory, so don't be surprised when things actually get terminated. that's not a bug, that's the assignment.

πŸ’– SEE ALSO πŸ’–

For a detailed introduction to RSerPool, see:

https://duepublico.uni-duisburg-essen.de/servlets/DerivateServlet/Derivate-16326/Dre2006_final.pdf

Thomas Dreibholz's RSerPool Page:

https://www.nntb.no/~dreibh/rserpool/


and that's the whole page bestie πŸ§šπŸ’œ it's from the Scripting Control manual, dated May 12, 2025, filed under ScriptingControl(1) β€” go forth and script, you've got this βœ¨πŸ’…πŸŽ€

πŸ“¦ where this page comes from