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

Mike Kerner MikeKerner at roadrunner.com
Wed Apr 3 12:14:55 EDT 2013


I've tried the syntax a couple of different ways but it hasn't worked, so
what are you proposing?


On Wed, Apr 3, 2013 at 12:13 PM, Phil Davis <revdev at pdslabs.net> wrote:

> 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<http://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
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list