Login | |
|
 |
RE: is there a way to run vbs from another language? - 9/4/2008 11:47:20 PM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
What language are you planning on running Call driver from? I do not see any issue with calling a script from any language
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: is there a way to run vbs from another language? - 10/22/2008 8:52:45 AM
|
|
 |
|
| |
ebgreen
Posts: 5047
Score: 31
Joined: 7/12/2005
Status: offline
|
For any given language, do whatever you need to do to spawn a process with this as the process command: CScript.exe Foo.vbs Where Foo.vbs is the script. For Python you have to decide if you want to spawn a child process or execute in the same process as the python script. I haven't done this in Python in a while but I think it would be something like: execl("CScript.exe, "C:\Path\To\Script.vbs") or to spawn it as a child process use one of the spawn* functions.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: is there a way to run vbs from another language? - 10/25/2008 10:24:02 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
ebgreen, I think it was one of the other admins that said you were working on porting vbscript to run natively under linux. How's that coming along?
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
|
|