0

I have custom rule to invoke py_binary. When I do

Bazel Build //Cutom_rule --platform=//platform/stm32f4

the python program invoked is not able to run the subprocesses_run() that runs command(STLink_cli.exe -list) within python program. I think the custom rule being run from some different location and not executing from host machine. Please guide me on this.

Hema
  • 1
  • 1
  • [Duplicate](https://stackoverflow.com/questions/73943757/how-to-use-platform-detail-from-command-line-command-inside-bazel-rules-as-a-v?noredirect=1#comment130931499_73943757) – SG_Bazel Oct 27 '22 at 08:35

0 Answers0