Skip to main content

by_command_line

Function by_command_line 

Source
pub fn by_command_line(command_line: &str) -> Option<TowerProcessKind>
Expand description

What a generic runtime’s command line says (rule 4): None keeps it a runtime. Only what it runs counts, never any word of a path: the script’s package directory, a .bin shim, Python’s -m module or script name, a JVM’s launcher class, dotnet’s verb. Pure: the caller reads the command line.