class WebBrowser(Application): (source)
| Method | __eq__ |
Undocumented |
| Method | __init__ |
Constructor |
| Method | run |
This method is not supported by this class @raises NotImplementedError: always |
| Method | spawn |
No summary |
| Method | tryexec |
No summary |
| Class Variable | key |
Undocumented |
| Class Variable | name |
Undocumented |
| Instance Variable | controller |
Undocumented |
Inherited from Application:
| Method | __repr__ |
Undocumented |
| Method | pipe |
Run the application in a sub-process and capture the output. Like run(), but connects to stdin and stdout for the sub-process. |
| Constant | STATUS_OK |
Undocumented |
| Instance Variable | cmd |
the command and arguments as a tuple or a string (when given as a string it will be parsed for quoted arguments) |
| Instance Variable | tryexeccmd |
the command to check in tryexec(), if None fall back to first item of cmd |
| Static Method | _lookup |
Lookup cmd in PATH |
| Method | _checkargs |
Undocumented |
| Method | _cmd |
Undocumented |
zim.applications.Application.__init__| Parameters | |
| cmd | the command for the external application, either a string for the command, or a tuple or list with the command and arguments |
| tryexeccmd | command to check in tryexec() as string. If None will default to cmd or the first item of cmd. |
zim.applications.Application.run| Raises | |
NotImplementedError | always |
zim.applications.Application.spawn| Parameters | |
| args | additional arguments to give to the command as tuple or list |
| callback | optional callback can be used to trigger when the application exits. The signature is:
callback(status, data)
where 'status' is the exit status of the process. The application object provides a constant 'STATUS_OK' which can be used to test if the application was successful or not. |
| data | additional data for the callback |
| cwd | the folder to set as working directory for the command |
| Returns | |
| the PID for the new process | |
zim.applications.Application.tryexec| Returns | |
| True when the executable was found |