Triggering processes through Samba
Brett Worth
brett at select.com.au
Mon Apr 6 03:57:27 GMT 1998
On Mon, 6 Apr 1998 samba at samba.anu.edu.au wrote:
> From: "Dejonghe, Koen" <Koen.Dejonghe at be.origin-it.com>
> To: "'samba at samba.anu.edu.au'" <samba at samba.anu.edu.au>
> Subject: Triggering processes through Samba
>
> I was wondering if there isn't a more direct way of triggering a
> process through Samba, so that I can get rid of the daemon.
> Thanks for your help.
You could try creating a named pipe under Unix and having your
barcode reader write data to it.
e.g.
$ mknod pipe p
$ ls -l pipe
prw-r--r-- 1 brett sct 0 Apr 6 14:47 pipe
$ cat pipe
Meanwhile over on the PC...
D:\tmp>dir pipe
Volume in drive D is brett
Volume Serial Number is 0994-05F2
Directory of D:\tmp
06/04/98 13:47 0 pipe
1 File(s) 0 bytes
122,486,784 bytes free
D:\tmp>echo hello > pipe
Then back at the Unix machine:
$ cat pipe
hello
$
Just like magic...
> Koen Dejonghe
Brett Worth
More information about the samba
mailing list