MCPcopy Create free account
hub / github.com/SeismicSystems/summit / stdout

Method stdout

types/src/reth.rs:205–207  ·  view source on GitHub ↗

Takes the stdout contained in the child process. This leaves a `None` in its place, so calling methods that require a stdout to be present will fail if called after this.

(&mut self)

Source from the content-addressed store, hash-verified

203 /// This leaves a `None` in its place, so calling methods that require a stdout to be present
204 /// will fail if called after this.
205 pub fn stdout(&mut self) -> Result<ChildStdout, NodeError> {
206 self.pid.stdout.take().ok_or(NodeError::NoStdout)
207 }
208
209 /// Send SIGTERM to gracefully shutdown the Reth process and wait for it to exit
210 pub fn terminate_and_wait(&mut self) -> std::io::Result<()> {

Callers 9

try_spawnMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

mainFunction · 0.64