NativeProcess.exit() problem
AIR 24, Windows 7
Hello,
I am invoking some system application processes like MSPaint or Notepad through nativeProcess.start(nativeProcessStartupInfo). Works OK until I want to kill that process through nativeProcess.exit(false). The problem is that the process is killed without any prompt to save changes on opened document (image in mspaint or txt in notepad) (Looks like AIR is killing the process directly and doesn't send end signal to that process). The cmd taskkill (taskkill /IM mspaint.exe) works correctly.
var nativeProcessStartupInfo: NativeProcessStartupInfo = new NativeProcessStartupInfo();
nativeProcessStartupInfo.arguments = new <String>[File.applicationDirectory.nativePath + "\\" + filenameImg];
nativeProcessStartupInfo.executable = File.applicationDirectory.resolvePath("c:\\Windows\\System32\\mspaint.exe");
var nativeProcess: NativeProcess = new NativeProcess();
nativeProcess.start(nativeProcessStartupInfo);
Is that a bug or I miss something?
