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

exec is always interactive

parent 903cf117
No related branches found
No related tags found
No related merge requests found
- colors - colors
- "shc CONTAINER start" vs. "shc CONTAINER shell" - "shc CONTAINER start" vs. "shc CONTAINER shell"
- exec -i
Albireo cleanup: Albireo cleanup:
- prerouting rule - prerouting rule
......
...@@ -262,9 +262,9 @@ def cmd_shell(args: argparse.Namespace) -> None: ...@@ -262,9 +262,9 @@ def cmd_shell(args: argparse.Namespace) -> None:
def cmd_exec(args: argparse.Namespace) -> None: def cmd_exec(args: argparse.Namespace) -> None:
cc = setup_container(args, False) cc = setup_container(args, False)
cmd = ['podman', 'exec'] cmd = ['podman', 'exec', '--interactive']
if args.tty is not None: if args.tty is not None:
cmd.extend(['--interactive', '--tty']) cmd.append('--tty')
if args.user is not None: if args.user is not None:
cmd.extend(['--user', args.user]) cmd.extend(['--user', args.user])
cmd.append(cc.container) 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