RE: Scripting: XSIUtils.LaunchProcess
| Date : Thu, 20 Apr 2006 16:56:03 +0100 |
| To : <XSI(at)Softimage.COM> |
| From : "Nikos Gatos" <nikos(at)passion-pictures.com> |
| Subject : RE: Scripting: XSIUtils.LaunchProcess |
|
Thanks guys, That works fine! J // Nikos Passion Pictures From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Stephen Blair You will have to do something like XSIUtils.LaunchProcess( "cmd /C
start C:\\test.bat" ); LaunchProcess is like the Win32
CreateProcess() api. You have to start a command interpreter session to run
your batch file. From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Nikos Gatos Hi, I cannot seem to get this function to work on a DOS
.bat file. Anyone know what I’m doing wrong? XSIUtils.LaunchProcess(
"c:\\test.bat” ); Test.bat is in my C root and contains only: echo "test" pause Oh, the old system command works just fine: system( "c:\\test.bat”
); We’re still running Win2000 Thanks, Nikos |
| DATE: | << | >> | THREAD: | << | >> | INDEX: | Main | Thread |
|---|
- Previous by Date: Picking weightmaps
- Next by Date: Picking weightmaps
- Previous by Thread: Picking weightmaps
- Next by Thread: Picking weightmaps
- Index(es):
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |