Documentation ¶
Overview ¶
Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use. This is a proxy for the following commands: OSX: "open" Windows: "start" Linux/Other: "xdg-open" This is a golang port of the node.js module: https://github.com/pwnall/node-open
打开验证码需要先将验证码下载在本地,然后打开本地的文件
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Open a file, directory, or URI using the OS's default application for that object type. Wait for the open command to complete.
阻塞直到命令完成
func RunWith ¶
Open a file, directory, or URI using the specified application. Wait for the open command to complete.
使用其他app运行命令
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.