comp.lang.ada
 help / color / mirror / Atom feed
* Trying to run ls, pwd, rm, etc. in linux without specifying the exact path
@ 2016-03-09 17:05 John Smith
  2016-03-09 17:55 ` Simon Wright
  0 siblings, 1 reply; 2+ messages in thread
From: John Smith @ 2016-03-09 17:05 UTC (permalink / raw)


Hello,

I found this little example and expanded on it:
http://rosettacode.org/wiki/Execute_a_system_command#Ada

I used the example where GNAT.OS_Lib is used.  Everything works like I want it to, almost.  If I want to call a Linux command, I have to specify the exact path to it /bin/ls.  How can I import the various Linux environment variables so tha I can just call 'ls' without specifying the direct path to the binary?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-09 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-09 17:05 Trying to run ls, pwd, rm, etc. in linux without specifying the exact path John Smith
2016-03-09 17:55 ` Simon Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox