i have run cmd command in air application. run using native process execution, after installation works in "windows 7" not in "windows xp". reason??
please help.....!
issue has been resolved changing argument passing method.....!
i had given commands following
var process:nativeprocess = new nativeprocess();
var info:nativeprocessstartupinfo = new nativeprocessstartupinfo();
info.executable = new file(rootdrive+"\\windows\\system32\\cmd.exe");
info.workingdirectory = file.applicationdirectory;
process.start(info);
process.standardinput.writeutfbytes("/c "test.exe" "source.url" "destn.url" "\n")
this not working in windows xp. gave argument this,
var args:vector.<string> = new vector.<string>();
args.push("/c");
args.push("test.exe");
args.push("source.url);
args.push("destn.url");
info.arguments = args;
process.start(info);
this got worked in windows xp ..............
thanks
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment