Skip to content

Commit 5d3f8d4

Browse files
authored
Merge pull request #8062 from DIRACGridBot/cherry-pick-2-b1a91d5ec-integration
[sweep:integration] dirac-apptainer-exec: use sys.argv for quoted parameters
2 parents 9095720 + 4842f93 commit 5d3f8d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DIRAC/Core/scripts/dirac_apptainer_exec.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727

2828
@Script()
2929
def main():
30-
Script.registerArgument(" command: Command to execute inside the container")
31-
command = Script.getPositionalArgs(group=True)
30+
command = sys.argv[1]
3231

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

0 commit comments

Comments
 (0)