shapepipe.pipeline.execute

shapepipe.pipeline.execute

EXECUTE.

This module defines methods for running the pipeline modules.

Author

Samuel Farrens <samuel.farrens@cea.fr>

execute(command_line)[source]

Execute.

This method executes a given command line.

Parameters

command_line (str) – The command line to be executed

Returns

Stdout and stderr (both type str)

Return type

tuple

Raises

TypeError – For invalid input type

check_executable(exe_name)[source]

Check if Input is Executable.

This methid checks if the input executable exists.

Parameters

exe_name (str) – Executable name

Raises