<HTML>
<HEAD>
<TITLE>Re: [X-Unix] Bash scripting help</TITLE>
</HEAD>
<BODY>
<FONT COLOR="#0000FF"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>On 11/8/05 11:02 AM, Russell McGaha <RussellMcGaha@direcway.com> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT COLOR="#0000FF"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>I'm trying to check if a process is running before continuing my script (BTW I'm a relative new-be at shell scripting)<BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
Russell,<BR>
<BR>
I’m a shell scripting newbie myself so this may not be what you’re after, but:<BR>
<BR>
osascript -e 'tell application "System Events" to exists process "FileMaker Pro"'<BR>
<BR>
This returns true is FMP is running and false otherwise.<BR>
<BR>
HTH,<BR>
<BR>
-- Bill</SPAN></FONT>
</BODY>
</HTML>