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

  • SEARCH
  • Home
  • 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 9051379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:53:28+00:00 2026-06-16T12:53:28+00:00

So I have created an app(simple IDE) where you can write/edit ada code and

  • 0

So I have created an app(simple IDE) where you can write/edit ada code and save it to temp.adb file.
To compile the file I should open terminal and navigate to the temp.adb directory. and execute

gnatmake temp.adb

If temp.adb has error the errors are shown in the terminal otherwise temp.adb executes within terminal. However I do not want the user to use the terminal and write commands separately. I just want the user to click on the “Build and run” button and it must compile the files and show the results within the app.

My question is if it is possible to show the compilation errors directly in the app? and also execute the temp.adb directly in the app? Where shall I read more about this? Any tips?
This is how the app looks like. The black view represents the console area.
This is how the app looks like. The black view is a textfield which represents the console area.

  • 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-06-16T12:53:29+00:00Added an answer on June 16, 2026 at 12:53 pm

    Use NSTask to run a shell (on OS X probably bash) with the appropriate arguments to compile and or run your code. Then use NSPipe to redirect stdout and stderr to your output text view.

    I’ve done pretty much the same, but for shell scripts, it should work.

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

Sidebar

Related Questions

I have created a simple app using storyboard. In storyboard file, i have dragged
I have created a very simple app to invite friends. This is my code:
I have created very simple app with persistence context (hibernate as provider) to read
I have created a simple web app/form using google app engine. the site is
I have created a small and simple android app. I tried installing it on
So I have a simple web app where I can create a user (UserModel)
I have created a simple android app and signed it using the Eclipse export
I have created a simple GAE app based on the default template. I want
I have created a simple map app that shows the local garage sales in
Ok, I have a very simple app created in Grails. I have a generated

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.