20.16
java.lang.Runtime
THE PACKAGE JAVA.LANG
This method never returns normally.
See also the method
exit
 ( 20.18.11) of class
System
, which is the conven 
tional and convenient means of invoking this method.
20.16.3
public Process exec(String command)
throws IOException, SecurityException,
IndexOutOfBoundsException
The
command
 argument is parsed into tokens and then executed as a command in a
separate process. The token parsing is done by a
StringTokenizer
 ( 21.10) cre 
ated by the call:
new StringTokenizer(command)
with no further modification of the character categories.
This method behaves exactly as if it performs the call:
exec(command, null)
See  20.16.4.
20.16.4
public Process exec(String command, String envp[])
throws IOException, SecurityException,
IndexOutOfBoundsException
The
command
 argument is parsed into tokens and then executed as a command in a
separate process with an environment specified by
envp
. The token parsing is
done by a
StringTokenizer
 ( 21.10) created by the call:
new StringTokenizer(command)
with no further modification of the character categories.
This method breaks the
command
 string into tokens and creates a new array
cmdarray
 containing the tokens in the order that they were produced by the string
tokenizer; it then behaves exactly as if it performs the call:
exec(cmdarray, envp)
See  20.16.6.
564






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved