Git Product home page Git Product logo

Comments (1)

chaosblade-bot avatar chaosblade-bot commented on May 23, 2024

Hi @banghuaji, we detect non-English characters in the issue. This comment is an auto translation from @chaosblade-bot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.

"blade",The execution path is relative and cannot be returned

The execution path of the blade cannot be returned normally. If you configure the PATH, you want to be able to return it correctly in any directory.

The relative path of the blade cannot be returned correctly.

bash-4.4# pwd
/root
bash-4.4# blade status --type create
{
        "code": 200,
        "success": true,
        "result": []
}

The absolute path of the blade gets returned correctly.
`
bash-4.4# /usr/local/chaosblade/blade status --type create
{
"code": 200,
"success": true,
"result": [
{
"Uid": "19e24c09575c72a3",
"Command": "cpu",
"SubCommand": "fullload",
"Flag": "--debug false --help false --numcpu =",
"Status": "Error",
"Error": "--numcpu value must be a positive integer",
"CreateTime": "2019-04-22T06:53:05.976019806Z",
"UpdateTime": "2019-04-22T06:53:06.004371602Z"
},
{
"Uid": "e152863c6c363c92",
"Command": "cpu",
"SubCommand": "fullload",
"Flag": "--debug false --help false --numcpu 8",
"Status": "Success",
"Error": "",
"CreateTime": "2019-04-22T06:53:15.452192207Z",
"UpdateTime": "2019-04-22T06:53:16.605675253Z"
}
]
}

`

from chaosblade.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.