LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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

Reply
 
LinkBack Search this Thread
Old 07-27-2008, 10:22 PM   #1
dina3e
Member
 
Registered: Mar 2008
Location: Bangalore
Distribution: Enterprise Red Hat linux
Posts: 98

Rep: Reputation: 16
ELF execution in child shell.


how can execute a ELF in a child shell, mean i want to execute the ELF with the sh command.
 
Old 07-27-2008, 11:17 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 5.7, Solaris 10
Posts: 10,994

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
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
 
  


Reply

Tags
elf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:36 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration