Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3272168
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:47:56+00:00 2026-05-17T18:47:56+00:00

i’m attempting to launch a command line executable program as a background process in

  • 0

i’m attempting to launch a command line executable program as a background process in Windows 7, but it’s not working. my AIR application is a native installer application: myAIRApp.exe.

i’ve bundled myApp.exe with my AIR application, so that when it launches for the first time, the application copies myApp.exe to the applicationStorageDirectory (C:\Users\Administrator\AppData\Roaming\myAIRApp\ ). the copy is successful, but it refuses to launch on it’s own. the copy is complete prior to trying to launch it. i doesn’t show up as a running process in Task Manager and subsequently, my AIR application, which relies on myApp.exe to be running in the background, fails.

if i manually double-click the copied myApp.exe in the applicationStorageDirectory it will open in Windows Command Processor, so the file is fine. the code also works fine on my Mac version, but instead of launching an .exe it launches the the Mac version as a background process, which opens in Terminal when manually launched.

the process doesn’t take any arguments and there is no requirement for my AIR application to directly communicate with the launched .exe background process. it only simply needs to be running.

the AIR application is authored in Mac OS X, and i’m using Parallels Desktop to compile the Windows native installer using ADT and to test the application.

var myApp:File = File.applicationStorageDirectory.resolvePath("myApp.exe");
var myAppProcessStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
myAppProcessStartupInfo.executable = myApp;

myAppProcess = new NativeProcess();
myAppProcess.start(myAppProcessStartupInfo);

any ideas why this might not be working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:47:56+00:00Added an answer on May 17, 2026 at 6:47 pm

    perhaps i missed something in the AIR documentation or don’t have a strong enough knowledge of Windows security, but it seems that executable files on Windows can not be launched from any directory other than the applicationDirectory.

    launching the .exe from the applicationDirectory works. (tested on Windows XP and Windows 7)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
I want to count how many characters a certain string has in PHP, but
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.