shell issue in windows using type (vs. cat on the mac)
Mike Kerner
MikeKerner at roadrunner.com
Wed Apr 3 13:47:52 EDT 2013
I understand what you're trying to say, even though the syntax was wrong,
but it doesn't work - I still have to hit CR in the command window.
I tried messing with creating a cmd process and dumping the commands into
that, but I don't seem to be getting the desired result that way, either.
On Wed, Apr 3, 2013 at 12:22 PM, Mike Bonner <bonnmike at gmail.com> wrote:
> I think phils idea should work.
>
> put "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" & cr into
> tShell
>
> -- tack an extra cr to the end of the command string and then
>
> get tShell
>
> Also, open process works well on windows so you could use that and make it
> in interactive thing (if needed) at which point you could write a cr to the
> open process directly.
>
> Once you get it working if you don't need to see the shell window you can
> set the hideconsolewindows to true.
>
>
> On Wed, Apr 3, 2013 at 10:14 AM, Mike Kerner <MikeKerner at roadrunner.com
> >wrote:
>
> > 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."
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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
>
--
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