unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: haziz <hsaziz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Running Programs from Inside Emacs
Date: Thu, 17 Feb 2011 03:08:45 -0800 (PST)	[thread overview]
Message-ID: <73d0253a-5d33-461f-9d55-cc3102cd67cb@glegroupsg2000goo.googlegroups.com> (raw)

When using emacs for programming in C, I know how to compile programs from inside emacs using Mx compile to invoke make -k which then compiles using gcc (I am running Linux Mint on a desktop machine at home and also use Mac OS X on a laptop). 

I have so far been unable to figure out how to "run" the resulting binary from inside emacs. I would like to be able to then run the binary file from inside emacs. So far I have had to exit emacs returning to my bash shell to run the binary by for e.g.    ./helloworld

Is it possible to get a shell prompt inside emacs and run the file in a secondary buffer within emacs?

I have tried to do a google search about this but most search results seem to talk only about Mx compile and stop there.

Thanks.

Sincerely,

Hany.






             reply	other threads:[~2011-02-17 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 11:08 haziz [this message]
2011-02-17 11:15 ` Running Programs from Inside Emacs Pascal J. Bourguignon
2011-02-17 15:09   ` despen
2011-02-19 12:08     ` Oleksandr Gavenko
2011-02-19 12:25       ` Peter Dyballa
     [not found]     ` <mailman.4.1298117344.32106.help-gnu-emacs@gnu.org>
2011-02-19 12:28       ` Pascal J. Bourguignon
2011-02-19 15:48         ` despen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=73d0253a-5d33-461f-9d55-cc3102cd67cb@glegroupsg2000goo.googlegroups.com \
    --to=hsaziz@gmail.com \
    --cc=gnu.emacs.help@googlegroups.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).