Skip to content

Commit 3789023

Browse files
authored
fix: fix connector start in risedev (risingwavelabs#8587)
1 parent 41323a9 commit 3789023

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/risedevtool/src/task/connector_service.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ impl Task for ConnectorNodeService {
4646
if !path.exists() {
4747
return Err(anyhow!("RisingWave connector binary not found in {:?}\nDid you enable risingwave connector feature in `./risedev configure`?", path));
4848
}
49-
let mut cmd = Command::new("sh");
50-
cmd.arg(path).arg("-p").arg(self.config.port.to_string());
49+
let mut cmd = Command::new(path);
50+
cmd.arg("-p").arg(self.config.port.to_string());
5151
ctx.run_command(ctx.tmux_run(cmd)?)?;
5252
ctx.pb.set_message("started");
5353

0 commit comments

Comments
 (0)