titus.inspector.defs.run

titus.inspector.defs.run(command, *args)[source]

Helper function to run a subprocess in a Python lambda expression.

Parameters:
  • command (string) – external command to run
  • args (strings) – arguments for the external command
Return type:

string

Returns:

result of running the command