| To: | scsh@martigny.ai.mit.edu |
|---|---|
| Subject: | Re: scsh mis-interacting with FreeBSD procfs?? |
| From: | Faried Nawaz <fn@Hungry.COM> |
| Date: | 01 Apr 1997 19:58:02 -0800 |
| Organization: | dis. |
ortmann@VNET.IBM.COM (Daniel Ortmann) writes:
Problem:
(run ("/bin/ls -l /proc/curproc/file")) appears to fail on FreeBSD with
/proc being the mount point for the procfs filesystem. ('curproc' is a
'link' to the current process number and 'file' is the current load
image.) The process number that is printed was completely wrong ... and
failed.
Try
(run (ls -l /proc/curproc/file))
> (run (ls -l /proc/curproc/file))
-r-xr-xr-x 1 bin bin 167936 Mar 6 08:33 /proc/curproc/file
0
>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Ousterhout article on scripting applies to scheme, Shriram Krishnamurthi |
|---|---|
| Next by Date: | Re: Ousterhout and Tcl lost the plot with latest paper, Tom Christiansen |
| Previous by Thread: | Re: scsh mis-interacting with FreeBSD procfs??, Steven Jenkins |
| Next by Thread: | Re: Ousterhout and Tcl lost the plot with latest paper, Chris Bitmead |
| Indexes: | [Date] [Thread] [Top] [All Lists] |