Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- println!("{:?}", {
- Command::new("rm -rf /").output()
- });
- }
- /* ~~~~=== stderr ===~~~~
- Compiling playground v0.0.1 (file:///playground)
- error[E0433]: failed to resolve. Use of undeclared type or module `Command`
- --> src/main.rs:5:9
- |
- 5 | Command::new("rm -rf /").output()
- | ^^^^^^^ Use of undeclared type or module `Command`
- error: aborting due to previous error
- error: Could not compile `playground`.
- To learn more, run the command again with --verbose.
- */
- /* ~~~~=== stdout ===~~~~
- */
Add Comment
Please, Sign In to add comment