processArgs.push('--pdets="C:\path\to\myfile.dat"');
This isn't right. You need to escape backslashes:
processArgs.push('--pdets="C:\\path\\to\\myfile.dat"');
I am launching TurboActivateWizard from my Adobe AIR app as a native process. I am passing an argument like: --pdets="C:\path\to\myfile.dat" but it always shows an error indicating it can not find TurboActivate.dat var nativeProcessStartupInfo: NativeProcessStartupInfo = new NativeProcessStartupInfo(); nativeProcessStartupInfo.executable = "TurboActivate Wizard Path"; process = new NativeProcess();
var processArgs: Vector.< String > = new Vector.< String > (); processArgs.push('--pdets="C:\path\to\myfile.dat"'); nativeProcessStartupInfo.arguments = processArgs;
if (process.running) { process.closeInput(); process.exit(); }
Do you know why it does not work? What is the right way to do it?
Regards
processArgs.push('--pdets="C:\path\to\myfile.dat"');
This isn't right. You need to escape backslashes:
processArgs.push('--pdets="C:\\path\\to\\myfile.dat"');