Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 21st, 2005, 12:37 PM   #1
newbie29
Newbie
 
Join Date: Feb 2005
Posts: 1
Rep Power: 0 newbie29 is on a distinguished road
execv extension list for shell

Hi,

I am implementing a shell, and I am specifically calling execv to execute user commands.

My question is how should I provide the extension for the command entered by the user to execv? Ie, if the user enters "cat", how do I provide "/bin/cat" for the execv. I want to provide the extensions for all commands in /bin/ and elsewhere.

Thanks.
newbie29 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:02 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC