&" do, we can do the following from the Windows command line,
start /B cmd /C call program [arg1 [...]]
We explain each part as follows,
-
/Bis the command line option to thestartcommand. The documentation of the commandstartstates the following,/B. Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application.
-
cmdis the program to run from the command line, i.e.,C:\Windows\System32\cmd.exe -
/Cis the command line option given tocmd. The manual states,-
/C. Carries out the command specified by string and then terminates
-
-
callis a command tocmd, it is to "call one batch program from another." The program does not have to be batch program, and can be any executable file. -
programis the program to be called by thecallcommand. -
arg1 [...]are optional one or more command line arguments given toprogram.
HelloWorld from the command line in background, we would do,
start /B cmd /C call java HelloWord
A Unix equivalent of this command would be
java HelloWorld &.
No comments:
Post a Comment