Skip to content

more reliable command execution on windows #2552

@FreddyE1982

Description

@FreddyE1982

If running on windows the execution of commands by the agent is quite chaotic and faulty.

The problems include that the agent:

  • repeatedly tries executing linux commands and only stops if specifically told that we are running on windows
  • repeatedly tries running incomplete and faulty commands, even if
  • it had run that same or similar command correctly before. this especially applies to working with / in files, finding strings in files etc.
  • constantly runs into (powershell) string quoting issues

This leads to tokens beeing used unessecarily because the agent has to keep trying to fix its own blunders.

One way to solve this may be automatically having the agent execute any commands via cygwin or install a small linux distro via WSL and use that....so we would avoid the agent having to execute any windows commands at all.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions