Sarah,
Thank you for this. I think I'm getting closer using your little
trick, but my standalone still hangs at that point. I've tried it
with exit and without with the same results. I just don't get why
this is happening. When I create a script file and run it from
Terminal, it
Check Apple's AppleScript web site for the latest on using shells and
Panther/Tiger.
The caution they give is that Terminal uses a slightly different shell by
default. You need to change shells to the one Applescript will use, then
test in Terminal.
This may not be related to your problem.
Jim
I hope I'm not totally off topic here.
I've got an installer in Rev that has to start a process under OS X
using the shell function. I'm able to get the process to start just
fine using a command line script. But the problem I'm having is this
particular process does not return any value
I can't get this to go through for some reason. So here it is again.
I hope I'm not totally off topic here.
I've got an installer in Rev that has to start a process under OS X
using the shell function. I'm able to get the process to start just
fine using a command line script. But the
Howdy Chris,
On Sep 29, 2005, at 11:14, Chris Sheffield wrote:
I can't get this to go through for some reason. So here it is again.
I hope I'm not totally off topic here.
I've got an installer in Rev that has to start a process under OS X
using the shell function. I'm able to get the
Hello Chris,
First of all, I recommend taking a look at http://www.tldp.org/LDP/
abs/html/ which is the Advanced Bash Scripting Guide. A very good
reading.
There's a chapter under basic called exit and exit status which I
think will cover what you need, if all you need is a return value
Hi Again Chris,
as I said, reading further into the Bash Scripting Guide, under the
special chars section I discovered that using ampersand to run
something in the background can cause a script to hang waiting for a
keypress. The solution is to place a wait command after the
background
Andre,
Thanks for the suggestion, but it didn't work unfortunately. It is
like the background command isn't working, so I bet that's the
issue. I'll check the guide and see if there's anything else, but do
you know if there's some other way to start a process in the
background like
Didn't work unfortunately. I did see a new message in the Terminal
window about sending output to nohup, but the exit still doesn't
happen. Any other ideas?
On Sep 29, 2005, at 10:38 AM, Gordon Tillman wrote:
What if you replaced this line as follows:
echo $pw | sudo -S /usr/bin/nohup
Chris,
did you saw my second mail regarding the wait command?
Cheers
andre
On Sep 29, 2005, at 2:01 PM, Chris Sheffield wrote:
Andre,
Thanks for the suggestion, but it didn't work unfortunately. It is
like the background command isn't working, so I bet that's the
issue. I'll check the
Yes, and I had found that in the document as well. Unfortunately, it
doesn't work either. I'm not sure why. The only thing I can think
of is that it has something to do with the way this particular
process runs. It's very strange to me that this isn't working...
Chris
On Feb 28, 2004,
I've got an installer in Rev that has to start a process under OS X
using the shell function. I'm able to get the process to start just
fine using a command line script. But the problem I'm having is this
particular process does not return any value when started, and the
shell command is
12 matches
Mail list logo