Skip to content

Commit

Permalink
Merge pull request #8060 from fstagni/80_apptainer_exec_fix
Browse files Browse the repository at this point in the history
[8.0] dirac-apptainer-exec: use sys.argv for quoted parameters
  • Loading branch information
fstagni authored Feb 26, 2025
2 parents 979b75e + 4b64801 commit b1a91d5
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 b1a91d5

Please sign in to comment.