Skip to content
Snippets Groups Projects
Commit 73bd3fc3 authored by Martin Mareš's avatar Martin Mareš
Browse files

exec is always interactive

parent 903cf117
Branches
No related tags found
No related merge requests found
- colors
- "shc CONTAINER start" vs. "shc CONTAINER shell"
- exec -i
Albireo cleanup:
- prerouting rule
......
......@@ -262,9 +262,9 @@ def cmd_shell(args: argparse.Namespace) -> None:
def cmd_exec(args: argparse.Namespace) -> None:
cc = setup_container(args, False)
cmd = ['podman', 'exec']
cmd = ['podman', 'exec', '--interactive']
if args.tty is not None:
cmd.extend(['--interactive', '--tty'])
cmd.append('--tty')
if args.user is not None:
cmd.extend(['--user', args.user])
cmd.append(cc.container)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment