Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CreateProcessSync - method of object Pm

Description:
Starting the program (*.exe, *.com, *.bat) with waiting for the termination.
Syntax:
CreateProcessSync(sCmdLine As String, sCurrent As String) As Boolean
Calling:
b = Pm.CreateProcessSync(sCmdLine, sCurrent)
Parameters:
sCmdLine(String) Name and path to the started file ([disk:][path]program[extension] [parameter1] [parameter2] [...])

It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.

sCurrent(String) Current folder for the started program (current folder of the PROMOTIC application is ".").

It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files and folders.

Return Values:
true - If the program has been successfully started.
false - If the program hasn't been successfully started.
Note:
After calling the method (launching the program) the algorithm is suspended until the launched program is terminated. I.e. the execution of all algorithms in the PROMOTIC system is stopped.
 
This method is not functional for Web Panels.
See also:
Navigation:
 
- Pm
 
- Abs
- Cos
- CreateProcessSync
 
 
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice