Skip to content

Commit

Permalink
Merge pull request #8062 from DIRACGridBot/cherry-pick-2-b1a91d5ec-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] dirac-apptainer-exec: use sys.argv for quoted parameters
  • Loading branch information
fstagni authored Feb 27, 2025
2 parents 9095720 + 4842f93 commit 5d3f8d4
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 5d3f8d4

Please sign in to comment.