On 11/8/05 11:02 AM, Russell McGaha <RussellMcGaha at direcway.com> wrote: > I'm trying to check if a process is running before continuing my script (BTW > I'm a relative new-be at shell scripting) Russell, I¹m a shell scripting newbie myself so this may not be what you¹re after, but: osascript -e 'tell application "System Events" to exists process "FileMaker Pro"' This returns true is FMP is running and false otherwise. HTH, -- Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://listserver.themacintoshguy.com/pipermail/x-unix/attachments/20051108/4fbdb868/attachment.html