Skip to content

Commit

Permalink
fix: fix connector start in risedev (risingwavelabs#8587)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Mar 20, 2023
1 parent 41323a9 commit 3789023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/risedevtool/src/task/connector_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ impl Task for ConnectorNodeService {
if !path.exists() {
return Err(anyhow!("RisingWave connector binary not found in {:?}\nDid you enable risingwave connector feature in `./risedev configure`?", path));
}
let mut cmd = Command::new("sh");
cmd.arg(path).arg("-p").arg(self.config.port.to_string());
let mut cmd = Command::new(path);
cmd.arg("-p").arg(self.config.port.to_string());
ctx.run_command(ctx.tmux_run(cmd)?)?;
ctx.pb.set_message("started");

Expand Down

0 comments on commit 3789023

Please sign in to comment.