LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 07-27-2008, 10:22 PM   #1
dina3e
Member
 
Registered: Mar 2008
Location: Bangalore
Distribution: Enterprise Red Hat linux
Posts: 83
Thanked: 0
ELF execution in child shell.


[Log in to get rid of this advertisement]
how can execute a ELF in a child shell, mean i want to execute the ELF with the sh command.
dina3e is offline  
Tag This Post
Reply With Quote
Old 07-27-2008, 11:17 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.4
Posts: 7,428
Thanked: 325
The sh cmd runs shell scripts, ELF is a binary executable format. Your qn does not make sense, unless you just mean run an exe via shell script:

#!/bin/sh
./myelfexe
chrism01 is online now     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
making the parent direct child processes to pause/sleep and resume execution expeliarmus Programming 1 08-14-2007 06:11 AM
KNetworkManager and Shell Scripts ~ lost in execution. javaguy78 Linux - Hardware 0 07-17-2006 01:50 AM
waiting for a child process to finish execution in C cynthia_thomas Programming 2 05-26-2006 04:58 AM
crond shell execution problems lm317t Linux - General 1 02-22-2005 10:46 AM
Speeding up Shell Script execution?? funkymunky Programming 8 07-16-2004 09:39 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration