shell issue in windows using type (vs. cat on the mac)

Phil Davis revdev at pdslabs.net
Wed Apr 3 12:13:21 EDT 2013


What happens if you add a CR at the end of your command? (Don't know if 
you're allowed to do that)

Phil


On 4/3/13 9:07 AM, Mike Kerner wrote:
> I am working on a script and ran into a problem with the type command
>
> I want to output a file to another command, but when I do, I get the shell
> window, which just sits there until I hit CR, then it does its thing.  On
> the mac, this doesn't happen.
>
> How can I get the shell to not sit there waiting for a CR?
>
> I am trying to send APNS messages from Windows, so the command is
> type Notification.bin | c:\OpenSSL-Win32\bin\openssl s_client -CAfile
> CA.pem -connect gateway.sandbox.push.apple.com:2195 -cert AppCertKey.pem
>
> Using >, >> or copy (instead of type) does not fix it.
> Once I hit CR in the terminal window, everything proceeds normally.
>
>

-- 
Phil Davis





More information about the use-livecode mailing list