[solved] sorry... ; ) Re: [Asterisk-Users] can't run "cat $filename" inside scripts with system()

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 1 22:27:58 MST 2006


On Sun, Jul 02, 2006 at 02:00:43AM +0200, Robert Michel wrote:
> Salve!
> 
> Sorry for the traffic on this list,
> 
> On Sat, 01 Jul 2006, Robert Michel wrote:
> > I can't run "cat $filename" inside scripts with system()
> 
> I should have set chmod o+x for the directories as well...
> *shame on me* ;)
>   BTW is there a verbose level for the CLI, that gives 
>   all system() errors?

For bourne shells: set -x

Or -x in the command-line:

#!/bin/bash -x

-- 
Tzafrir Cohen      sip:tzafrir at local.xorcom.com
icq#16849755       iax:tzafrir at local.xorcom.com
+972-50-7952406           
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-users mailing list