mirror of
https://github.com/openharmony/js_sys_module.git
synced 2026-07-19 23:13:39 -04:00
Modify and supplement the stack column printing code of DFX module
上传dfx模块代码,增加native栈栈列打印功能 https://gitee.com/openharmony/ark_js_runtime/issues/I4VB5Z Signed-off-by: shikai-123 <shikai25@huawei.com>
This commit is contained in:
@@ -70,12 +70,12 @@ namespace OHOS::Js_sys_module::Process {
|
||||
{
|
||||
int ret = pipe(stdOutFd_);
|
||||
if (ret < 0) {
|
||||
HILOG_ERROR("pipe1 faile %{public}d", errno);
|
||||
HILOG_ERROR("pipe1 failed %{public}d", errno);
|
||||
return;
|
||||
}
|
||||
ret = pipe(stdErrFd_);
|
||||
if (ret < 0) {
|
||||
HILOG_ERROR("pipe2 faile %{public}d", errno);
|
||||
HILOG_ERROR("pipe2 failed %{public}d", errno);
|
||||
return;
|
||||
}
|
||||
std::string strCommnd = RequireStrValue(command);
|
||||
|
||||
Reference in New Issue
Block a user