I tried your code... (first I did move test.sh to execution folder). With me, this; EXEC ["sh", Application.Path &/ "test.sh"] TO sOutPut works well.
But this; EXEC ["sh " & Application.Path &/ "test.sh"] TO sOutPut does NOT work (no output). So EXEC command is pretty picky. Benoit, comments? Also, if words.txt is in wrong place, execution freeze. Do this; PRINT "sh " & Application.Path &/ "test.sh" Put the output to terminal to see if you got right paths. Cannot say more... Jussi On Wed, Mar 4, 2009 at 5:24 PM, A Person <5t3c7...@nf.sympatico.ca> wrote: > Good Day . . . > > Thank You all except the one that told me to read the EXEC docs. I read > that many times and tried many variations including trying getting INPUT > and OUTPUT to work. But nothing worked. The one problem that I have with > Gambas is that the docs are not adequate to a novice user. I tried > writing docs for a project but I did not know enough. > > Before I submitted this I used the full path but I changed it in the > demo so that a tester would not have to change anything. > > I tried EXEC ["full path/test.sh"] WAIT to sOutPut but it died. top > showed nothing running. > > Can you show me an example of EXEC . . . WAIT with a variable returned? > > Thanks > > Paul > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user