Skip to content

批处理命令里 后台异步任务不生效 #3223

Description

@westwind10
  • 我已经在 issues 里搜索,没有重复的issue。

环境信息

  • arthas-boot.jar 或者 as.sh 的版本:4.3.0
  • Arthas 版本: 4.3.0
  • 操作系统版本: centos-7
  • 目标进程的JVM版本: 1.8
  • 执行arthas-boot的版本: 4.3.0

重现问题的步骤

  1. 批处理命令里 &符 后台异步任务不生效

源码里 TelnetConsole.batchModeRun() 方法, 会在 command 后面拼接 | plaintext ; outputStream.write((command + " | plaintext\n").getBytes());
导致 &符 不生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions