Skip to content

Commit 9e67d19

Browse files
sbrivio-rhalyssarosenzweig
authored andcommitted
muvm-guest: For debug builds, source muvm-hidpipe from current path as well
Same as commit d89ddbe ("env: For debug builds, source muvm binaries from current executable path"), but for muvm-hidpipe, which was imported into muvm by commit 44d33a3 ("hidpipe: merge hidpipe project into muvm"). Otherwise I get: Error: Failed to execute `muvm-hidpipe` as child process Caused by: No such file or directory (os error 2) Signed-off-by: Stefano Brivio <[email protected]>
1 parent d89ddbe commit 9e67d19

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/muvm/src/guest/bin/muvm-guest.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ fn main() -> Result<()> {
5757

5858
configure_network()?;
5959

60-
Command::new("muvm-hidpipe")
60+
let muvm_hidpipe_path = find_muvm_exec("muvm-hidpipe")?;
61+
Command::new(muvm_hidpipe_path)
6162
.arg(format!("{}", options.uid))
6263
.spawn()
6364
.context("Failed to execute `muvm-hidpipe` as child process")?;

0 commit comments

Comments
 (0)