Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

jstart

Description 

The jstart utility was originally provided to circumvent a problem with the Win95 CreateProcess API. The API fails to set the standard input handle to the new console if the standard input handle of the parent process is not a console device, i.e. a DATA statement has been used. However, jstart can be used to start up a process in the same window, in a new window or in the background. Not available on UNIX platforms.

The command is as: 

jstart -Options Command

where: 

  • command is an executable program
  • option may be:
Option
Description
-v
verbose
-w
initiating process waits for the process launched by jstart to complete
-m
run with window minimized
-b
run as a background job, i.e. no console
-i
inherit current window
-tTitle
specify the window title (not applicable to background jobs)
-pclass
priority class; 0 - Normal; 1 - Idle; 2 - High

 

EXAMPLES

EXECUTE "jstart jsh -s jsh -"

This will start up the jSHELL in a new window, with a different port number.

jstart -b jpq C:\CODE\PROCLIB\RUNBATCH

Runs the proc RUNBATCH as a background process.


Was this article helpful?