lso.execute

Module for handling the execution of arbitrary executables.

lso.execute.get_executable_path(executable_name)

Return the full path of an executable, based on the configured EXECUTABLES_ROOT_DIR.

lso.execute.run_executable_async(executable_path, args, callback)

Dispatch the task for executing an arbitrary executable remotely.

Uses a ThreadPoolExecutor (for local execution) or a Celery worker (for distributed tasks).

lso.execute.run_executable_sync(executable_path, args)

Run the given executable synchronously and return the result.