Re: runtime error under Mac OS X 10.2, posted by Recai Oktas on Mon Jun 30 02:41:33 2003
|
Seems a stack problem. I don't have an OS X box to validate my guess. I've
made a Google search with the keywords: EXC_BAD_ACCESS stack "os x"
|
Re: runtime error under Mac OS X 10.2, posted by Joseph Giaime on Mon Jun 30 05:15:14 2003
|
Sridhar & Recai,
Thanks to both of you for the rapid and effective advice. Fixing the limit corrected my problem.
|
Re: runtime error under Mac OS X 10.2, posted by Stefan Ritt on Mon Jun 30 17:16:56 2003
|
> I suppose that the advice to increase Mac OS X's default stacksize limit
> might make a fine entry in the FAQ or README file.
|
Re: running more then one shell command when new entries is submitted, posted by kenzo Abrahams on Tue Oct 27 11:14:16 2015
|
The reason why im asking if it can be done using the Execute option is because I need to have the message id of the entry that was submitted and in an
external script i dont have access to the variable
kenzo |
Re: running more then one shell command when new entries is submitted, posted by Stefan Ritt on Tue Oct 27 11:19:41 2015
|
The command is passed to your shell, and some shells except more than one command. Most Linux shells accept commands separated by ';', which
you can try yourself by entering for example: ls *.c; ls*.h
kenzo |
Re: running more then one shell command when new entries is submitted, posted by kenzo Abrahams on Tue Oct 27 11:23:36 2015
|
If i put the ';' into Execute the rest of the command becomes a comment thats why i was trying to use '&&' instead. If I encapulate
the whole command in "" or '' then both commands are executed but the files im trying to write to gets created but no data is piped into
it. When I use Execute with one command and pipe its output to a file everything works fine though. |
Re: running more then one shell command when new entries is submitted, posted by Andreas Luedeke on Tue Oct 27 12:20:16 2015
|
As far as I know ELOG is recognising a configuration line as a comment only when it starts with a ';'.
I can assure you that
ELOG does not treat the rest of the line as a comment when you use a ';' within a $shell() command: I do it a lot and it works fine. Here's
a simple, generic example using the bash:
Preset Author = $shell(if [ $short_name = "Anonym" ] ;then echo $Author;else echo |
Re: running more then one shell command when new entries is submitted, posted by kenzo Abrahams on Wed Oct 28 11:11:27 2015
|
Hi Andreas
This worked perfectly thank you.
Andreas |