On Mar 13, 2010, at 18:52:39, Dave Higgins wrote:
How about a Notification that simply runs the same as a command-line
script / process? I've dug around the MailMe Notification …
You mean display?
Notifications are what get passed to displays to be displayed, usually
on the screen. Non-visual displays such as MailMe “display” the
notification in some other way, such as by sending it as an email
message.
... although a bang line like that (calling env then the
interpreter) is new to me.
That's called a shebang (for “shell bang”, since it's most useful for
shell scripts). The exec functions and system call handle that for
free: We simply run simple-mailer the same way we would run a compiled
machine-code program, and the OS reads the shebang line and turns
around and runs the script under that program for us.
--
You received this message because you are subscribed to the Google Groups "Growl
Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en.