Fix: Decode run_cmd() result
Since commit
02697af5, ExecContext.run() returns bytes for stdout and stderr and fixes that in calling code. The thing it did not fix was the code calling run_cmd(), which also made return bytes. This commit catches up on that.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
fd35fa0871
commit
21e67291b5
6 changed files with 12 additions and 14 deletions
|
|
@ -4,7 +4,7 @@ import os, re, sys, subprocess, datetime, time
|
|||
from argparse import Namespace, ArgumentParser
|
||||
from functools import lru_cache
|
||||
|
||||
from ...lib.util import run_cmd, get_profile_env
|
||||
from ...lib.util import get_profile_env
|
||||
from ...lib.log import *
|
||||
from ..Cmd import Cmd
|
||||
from ..CmdProjects import CmdProjects
|
||||
|
|
@ -115,7 +115,7 @@ class CmdBuild(Cmd): # export
|
|||
env = await get_profile_env(keep=keep)
|
||||
|
||||
try:
|
||||
stdout, stderr, status = await run_cmd(
|
||||
await self.app.exec_context.run(
|
||||
make_cmd,
|
||||
wd=wd,
|
||||
throw=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue