import "os" for Process Process.exec("echo \"Hello World!\" | lpr")