edba8f146d
- return exit codes when stopping - listen for connection from external app as lifeline git-svn-id: http://svn.bigbluebutton.org/project-bbb/trunk@110 6ac8b576-4aa1-4e98-a958-8badfeb98c9d
24 lines
595 B
Plaintext
24 lines
595 B
Plaintext
' An example script that will launch the app in the background
|
|
'
|
|
Dim command
|
|
command = "java -cp bbb-deskshare-applet-0.64.jar org.bigbluebutton.deskshare.client.DeskshareMain "
|
|
|
|
'Set a reference to the arguments
|
|
Set objArgs = Wscript.Arguments
|
|
|
|
'Count the arguments
|
|
'WScript.Echo objArgs.Count
|
|
|
|
' Concatenate all command-line parameters
|
|
For Each strArg in objArgs
|
|
command = command & Chr(32) & strArg
|
|
Next
|
|
|
|
'WScript.Echo command
|
|
|
|
Set WshShell = WScript.CreateObject("WScript.Shell")
|
|
Return = WshShell.Run(command , 0, true)
|
|
|
|
WScript.Echo Return
|
|
|
|
WScript.Quit(Return) |