Skip to content

Commit f5732df

Browse files
build: Remove quotes from ns3 command-template arguments
Open MPI refuses to accept them on execvp
1 parent d3b52fa commit f5732df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ns3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,8 @@ def run_step(args, target_to_run, target_args):
15351535
if args.command_template:
15361536
commands = args.command_template % f'"{target_to_run}"'
15371537
commands = list(re.findall(r'(?:".*?"|\S)+', commands))
1538-
target_to_run = commands[0].strip('"')
1538+
commands = list(map(lambda x: x.replace('"', ""), commands))
1539+
target_to_run = commands[0]
15391540
commands = commands[1:]
15401541
check_program_installed(target_to_run)
15411542
target_args = commands + target_args

0 commit comments

Comments
 (0)