diff --git a/Interlace/lib/core/input.py b/Interlace/lib/core/input.py index 3636a21..73d75bd 100644 --- a/Interlace/lib/core/input.py +++ b/Interlace/lib/core/input.py @@ -181,10 +181,10 @@ def process_commands(arguments): targets -= exclusions if arguments.command: - commands.add(arguments.command) + commands.add(arguments.command.rstrip('\n')) else: for command in arguments.command_list: - commands.add(command.strip()) + commands.add(command.rstrip('\n')) final_commands = InputHelper._replace_variable_for_commands(commands, "_target_", targets) final_commands = InputHelper._replace_variable_for_commands(final_commands, "_host_", targets)