SecurityManager.checkExec
Class Overview | Class Members |
This Package |
All Packages
public void checkExec( String cmd )
Parameters
- cmd
- the specified system command.
Description
Throws a SecurityException if the
calling thread is not allowed to create a subprocss.
This method is invoked for the current security manager by the
exec methods of class Runtime.
The checkExec method for class
SecurityManager always throws a
SecurityException.
Exceptions
SecurityException
if the caller does not have permission
to create a subprocess.
See Also
exec, exec, exec, exec, getSecurityManager