mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Port custom processor for hints
This commit is contained in:
@@ -146,8 +146,11 @@ def run_go(packages: Set[str], names: str) -> 'subprocess.Popen[bytes]':
|
||||
for name in names:
|
||||
cmd.extend(('-run', name))
|
||||
cmd += go_pkg_args
|
||||
env = os.environ.copy()
|
||||
from kitty.constants import kitty_exe
|
||||
env['KITTY_PATH_TO_KITTY_EXE'] = kitty_exe()
|
||||
print(shlex.join(cmd), flush=True)
|
||||
return subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
return subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, env=env)
|
||||
|
||||
|
||||
def reduce_go_pkgs(module: str, names: Sequence[str]) -> Set[str]:
|
||||
|
||||
Reference in New Issue
Block a user