@shellexec() Function

Top  Previous  Next

@shellexec() functon is used to execute commands on the operating system.

Syntax:

@shellexec(command, command-argumentswait)

 

command

The command to be called

command-arguments

The arguments to pass to the command

wait

To wait for the command to finish its execution true otherwise false should be given to this parameter.

 

Examples:

@shellexec('genreport.sh',[v:reportId, 'PDF', ], true) 

@shellexec('startdb.bat',[portnumber], false)