Skip to content

Error running on windows #56

Open
Open
@peakschris

Description

@peakschris

I'm seeing an error in latest rules_lint, which I believe uses multirun 0.9.0 for its format module:

(.venv) d:\workdir\rules_lint3\example>bazel run :format
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:format (95 packages loaded, 4998 targets configured).
INFO: Found 1 target...
Target //tools/format:format_windows up-to-date:
  bazel-bin/tools/format/format_windows.bash
INFO: Elapsed time: 125.916s, Critical Path: 6.10s
INFO: 11 processes: 10 internal, 1 local.
INFO: Build completed successfully, 11 total actions
INFO: Running command line: bazel-bin/tools/format/format_windows.bash
FATAL: ExecuteProgram(D:\udu\b\l2x2bhay\execroot\_main\bazel-out\x64_windows-fastbuild\bin\tools\format\format_windows.bash) failed: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("D:\b\l2x2bhay\execroot\_main\bazel-out\x64_windows-fastbuild\bin\tools\format\format_windows.bash"): %1 is not a valid Win32 application.
 (error: 193)

This surprises me because at a glance it looks like rules_multirun invokes bash scripts with the bash executable.

Do you have any hints? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions