Skip to content

Cross-platform way to run a program that's in the current directory. #32

@Abscissa

Description

@Abscissa

./somebin ... works everywhere but windows. Omitting the ./ only works on windows. Need to figure out a good way so scripts don't need awful garbage like:

run(`.`~dirSeparator~`mytool --args`);

or

run(buildPath(`.`, `mytool`)~` --args`);

or

version(Windows)
    run(`mytool --args`);
else
    run(`./mytool --args`);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions