EgtExecutor 2.2i4 :
- aggiunta funzione ExeAdvancedImport (per import IGES, STEP, ACIS, PARASOLID, JT e VRML) - piccole migliorie.
This commit is contained in:
+5
-3
@@ -840,10 +840,12 @@ LuaWinExec( lua_State* L)
|
||||
// mando in esecuzione la linea di comando
|
||||
STARTUPINFO si ;
|
||||
PROCESS_INFORMATION pi ;
|
||||
ZeroMemory( &si, sizeof(si)) ;
|
||||
si.cb = sizeof(si) ;
|
||||
ZeroMemory( &pi, sizeof(pi)) ;
|
||||
ZeroMemory( &si, sizeof( si)) ;
|
||||
si.cb = sizeof( si) ;
|
||||
ZeroMemory( &pi, sizeof( pi)) ;
|
||||
bool bOk = ( CreateProcess( NULL, stringtoW( sCmdLine), NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi) != FALSE) ;
|
||||
CloseHandle( pi.hProcess) ;
|
||||
CloseHandle( pi.hThread) ;
|
||||
// restituisco il risultato
|
||||
LuaSetParam( L, bOk) ;
|
||||
return 1 ;
|
||||
|
||||
Reference in New Issue
Block a user