Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Launcher ignores commands on environment path #6

@feldrim

Description

@feldrim

The line below sets the default behavior for process paths as accepting only full paths.

internal static Regex ProgramPath = new Regex(@"([A-Z]:\\[^/:\*\?<>\|]+\.((exe)))|(\\{2}[^/:\*\?<>\|]+\.((exe)))", RegexOptions.IgnoreCase);

That makes the line below to give exception because "notepad" is called from environment path adn does not include full path.

var wardenTest = await WardenProcess.Start("notepad", string.Empty, null);

Until the ProgramPath Regex is modified, the README and WardenExample project can be changed accordingly.

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