From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: haziz Newsgroups: gmane.emacs.help Subject: Running Programs from Inside Emacs Date: Thu, 17 Feb 2011 03:08:45 -0800 (PST) Organization: http://groups.google.com Message-ID: <73d0253a-5d33-461f-9d55-cc3102cd67cb@glegroupsg2000goo.googlegroups.com> Reply-To: gnu.emacs.help@googlegroups.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297968958 29001 80.91.229.12 (17 Feb 2011 18:55:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 18:55:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 17 19:55:53 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq916-0006pA-T3 for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Feb 2011 19:55:53 +0100 Original-Received: from localhost ([127.0.0.1]:36824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq913-0001ap-SA for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Feb 2011 13:55:49 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 75.68.163.13 Original-X-Trace: posting.google.com 1297940925 7148 127.0.0.1 (17 Feb 2011 11:08:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 17 Feb 2011 11:08:45 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=75.68.163.13; posting-account=HXrQZgoAAABJGIizvkuvFShjGEXLsiPB User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:185028 X-Mailman-Approved-At: Thu, 17 Feb 2011 13:55:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79197 Archived-At: 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 g= cc (I am running Linux Mint on a desktop machine at home and also use Mac O= S X on a laptop).=20 I have so far been unable to figure out how to "run" the resulting binary f= rom 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 sec= ondary 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.