Skip to content

Commit 4842f93

Browse files
fstagniweb-flow
authored andcommitted
sweep: #8060 dirac-apptainer-exec: use sys.argv for quoted parameters
1 parent 9095720 commit 4842f93

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)