Leonardo, what are you really trying to do? I don't know about running a bash script but in the Wiki there is an example for accessing pins via a Python script.
http://www.linuxcnc.org/docview/html//hal_halmodule.html Dave Leonardo Marsaglia wrote: > Hello again, i think i figured out how to make the link, i found that i can > use the function system included in the stdlib.h library.. > > The only problem that i have is that ubuntu doesn't seem to have that > library. > > I installed the build-essential package and it's the same. > > What i'm trying to do is to make a component using comp with one bit in pin, > and when that pin is true, the function system executes the sh command. > > Well i hope someone can clear my doubts to guide me in the right way. > > Thanks in advance again. > > Leonardo > > 2009/11/12 Leonardo Marsaglia <leonardomarsagli...@gmail.com> > > >> Hello everybody, i'm finishing with the setup of my machine and i have one >> question.. >> >> How can i link a signal to a bash script? is it possible to make a >> component with the sript in it and then use the component to activate that >> script whenever i want? >> >> Thanks in adavance for your help. >> >> >> > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users