MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / with_cmd_line

Method with_cmd_line

crates/openshell-ocsf/src/objects/process.rs:40–43  ·  view source on GitHub ↗
(mut self, cmd_line: &str)

Source from the content-addressed store, hash-verified

38 /// Set the command line.
39 #[must_use]
40 pub fn with_cmd_line(mut self, cmd_line: &str) -> Self {
41 self.cmd_line = Some(cmd_line.to_string());
42 self
43 }
44
45 /// Set the parent process.
46 #[must_use]

Calls

no outgoing calls