| |
@@ -6,7 +6,7 @@
|
| |
import logging
|
| |
import os
|
| |
from tempfile import NamedTemporaryFile
|
| |
- import pipes
|
| |
+ import shlex
|
| |
import subprocess
|
| |
import sys
|
| |
from typing import IO, Optional, NoReturn, cast
|
| |
@@ -51,7 +51,7 @@
|
| |
|
| |
def log_call(args):
|
| |
click.secho('running: ', fg='blue', bold=True, err=True, nl=False)
|
| |
- click.echo(' '.join(pipes.quote(str(a)) for a in args), err=True)
|
| |
+ click.echo(' '.join(shlex.quote(str(a)) for a in args), err=True)
|
| |
|
| |
|
| |
def check_call(args, cwd=None, stdout=None):
|
| |
This PR is replacing pipes with shlex to fix this
https://bugzilla.redhat.com/show_bug.cgi?id=2252072