Показать сообщение отдельно
Старый 05.02.2010, 18:11
DarkLight вне форума Посмотреть профиль Отправить личное сообщение для DarkLight Посетить домашнюю страницу DarkLight Найти все сообщения от DarkLight
  № 4  
Ответить с цитированием
DarkLight
ветеран форума
 
Аватар для DarkLight

Регистрация: May 2006
Адрес: Москва
Сообщений: 2,978
Отправить сообщение для DarkLight с помощью ICQ Отправить сообщение для DarkLight с помощью Skype™
Хм, открываем документацию, и одной из первых команд видим то, что нам нужно:
Цитата:
shu.System.exec(filename:String, showGui:Boolean=false):Number

Overview:
Executes an external application and waits for it to exit.

Parameters:
filename - String specifing path to an application to execute.
showGui - Boolean specifing whether to display the application's GUI.

Returns:
The exit code of the program launched.
Цитата:
shu.System.execAsync(filename:String, showGui:Boolean=false):Number

Overview:
Executes an external application asynchronously. The return value is the application process ID which can be used to check if the application is still running by calling shu.System.isRunning.

Parameters:
filename - String specifing path to an application to execute.
showGui - Boolean specifing whether to display the application's GUI.

Returns:
The process ID of the launched application.
__________________
4am is time to rock