Skip to content

Commit

Permalink
sweep: #8060 dirac-apptainer-exec: use sys.argv for quoted parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni authored and web-flow committed Feb 26, 2025
1 parent 9095720 commit 4842f93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DIRAC/Core/scripts/dirac_apptainer_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@

@Script()
def main():
Script.registerArgument(" command: Command to execute inside the container")
command = Script.getPositionalArgs(group=True)
command = sys.argv[1]

user_image = None
Script.registerSwitch("i:", "image=", " apptainer image to use")
Expand Down

0 comments on commit 4842f93

Please sign in to comment.