Hi,

What about using  "open process"....
See in the doc it's quite well documented.

I managed years ago to build kind of front end to one of my app.

HTH

Regards,
Thierry



Unfortunately running a shell "interactively" is not possible...

You can execute any written batch though...
React on the file logs or results returns via a shell...
Persistent data and variables may vary on mileage and usage...
Plan around it, that's the way i know...

Yes Xavier,
this is the problem, I am trying to script the openssl shell.
I can run a single command from the cmd.exe shell but it quits at the end,
what I need is a way to open the opessl shell and then read and write
shell
commands to it but the '/C' keeps gettng in the way.

Has anybody else had any success with working with this?

Paul

I checked it with a little script:

set the shellcommand to "c:\apps\cygwin\ls.exe"
get shell("") -- needs the quotes apparently or it wont compile
answer it

when you execute this you will see again the damn /c in the error
message

Tested quickly in MetaCard... should be the same in Rev...

cheers
Xavier

[EMAIL PROTECTED] wrote on 29/08/2007
16:58:10:

Hi Paul,

The problem, if im correct, is that you are assigning the shell to
be
the
exe to be exectuted in the shell...

Set the shellcommand to "cmd.exe" -- reset it to what it should be
- if
im
correct... i didn't know we could set "dir" and the shell
command!
get shell(filepath && "Version")

should work better IMOHO...

Unfortunately i dont have the openssl.exe from cygwin to test.

hope that helps
cheers
Xavier

[EMAIL PROTECTED] wrote on 29/08/2007
16:44:59:


I am trying to use the openssl function within cygwin in
windows.
The following is the script, instead of sending the command
'version'
to
openssl it appears to be sending "/C" as the result quotes that
"/C"
is
not
a valid command.

The it variable contains:
"openssl:Error: '/C' is an invalid command.
Standard commands
asn1parse ....... "


Putting 'version' in at the prompt works OK.
What am I doing wrong and where does the "/C" come from?

Paul

on mouseUp
  set the hideconsolewindows to true
  put   "c:\cygwin\bin\openssl.exe" into filepath
  open process filepath
  set shellcommand to "c:\cygwin\bin\openssl.exe"
  put "version" into shellc
  get shell("version")
   answer it
 end mouseUp

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to