Rename doc server to stdio server
This commit is contained in:
parent
12b077b7be
commit
03cb33ba7b
7 changed files with 8 additions and 8 deletions
|
@ -6,9 +6,9 @@ use tokio::io::{self, AsyncBufReadExt, AsyncWriteExt, BufReader};
|
|||
|
||||
// Simple example client for interacting with the doc server via stdin/stdout
|
||||
async fn stdio_client() -> Result<()> {
|
||||
// Start the doc-server in a separate process
|
||||
// Start the stdio-server in a separate process
|
||||
let mut child = tokio::process::Command::new("cargo")
|
||||
.args(["run", "--bin", "doc-server"])
|
||||
.args(["run", "--bin", "stdio-server"])
|
||||
.stdin(std::process::Stdio::piped())
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.spawn()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue