LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2003, 05:47 AM   #1
tim_l
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Rep: Reputation: 0
Printing the path for a currently executing programme


Hello:

I'm trying to find a way to print the (full) path of the currently executing programme.

Anyone got any ideas?

Cheers,

Tim
 
Old 10-10-2003, 05:51 AM   #2
wuck
Member
 
Registered: Sep 2003
Location: barneveld.nl
Distribution: Slackware
Posts: 170

Rep: Reputation: 30
I believe it could be found somewhere in /proc.
If you have KDE, the KDE system Guard's process table seems to know, too.
 
Old 10-10-2003, 06:17 AM   #3
tim_l
LQ Newbie
 
Registered: Oct 2003
Posts: 18

Original Poster
Rep: Reputation: 0
Ok, but is there anyway to get the information with a system call?

Thanks
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get absolute path of current executing C/C++ prog? Thinking Programming 2 10-10-2005 10:27 AM
How to tell a C++ programme to quit ? yogeshm02 Programming 3 09-09-2005 05:59 AM
Problems installing and executing programme, lwbeng Linux - Software 5 07-24-2005 08:25 PM
Executing commands without using the full path.. LinuxBAH *BSD 2 12-02-2003 07:16 PM
how can I modify this programme? wwnn1 Programming 5 05-14-2002 07:55 AM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration