AltME: SDK

Messages

GrahamC
this works from  2.7.8.3.1   get-env "%userprofile%"  but in my SdK I get none.
Ideas
GrahamC
ah.. works without the %
so small difference between the sdk and core
Endo
Here is working example on Win7:
stdout: make string! 255
call/wait/output rejoin [to-local-file system/options/path %\extract.exe " mypassword"] stdout
I remember that CALL supports rebol style file names, but it sometimes fail to run the app. So to put TO-LOCAL-FILE is good.
But in this example extract.exe is a Win32 application that outputs to stdout, not a real DOS app. This might be a difference.
Edgar
Max,
Edgar
try this; outfile, infile, errfile are filepath
cmd: "someexeprog.exe < to-local-file to-file infile > to-local-file to-file outfile 2> to-local-file to-file errfile"
call/wait cmd
If you don't want any filepath, replace them with NUL
Edgar
;correction
outfile: to-local-file to-file "outfile.txt" infile: to-local-file to-file "infile.txt" errfile: to-local-file to-file "errfile.txt"
cmd: rejoin [{someexeprog.exe < } infile { > } outfile { 2> } errfile]
call/wait cmd
Maxim
unfortunately, I can't use temp files (though your suggestion does work, I had looked at doing this too  ;-)
but as I said above, using cheyenne's win-call and pre-pending "CMD /C"  (which is what /shell basically does) works out great.
Edgar
But doesn't that open a console window.
Maxim
nope since I'm not using /show
Edgar
Ok
Maxim
strangely enough adding CMD /C  to  R2's call doesn't fix anyth
anything, so I guess the parameters being used by win-call when the launch process is being done are different.
Gregg
Did Carl release the CALL source at one point, to get input and help on it?
Kaj
Only talked about that, I think

Maarten
Anybody ever tried signing an encapped REBOL binary (R2) for the Mac? With Gatekeeper coming distribution of REBOL application will be dead in the water. OTOH: if we can get it working, I see a productivity boon for a whole suite of Desktop "Apps".

Gregg
Wow. I hadn't seen Gatekeeper. My first thought is that it's less about security than it is about control and revenue, but I could be wrong. Security is good. It seems clear that as things change, "legacy " doesn't mean "really old" anymore.
Arnold
Any additional information what this is exactly about please? (I know of a Gatekeeper script to password protect/hide a directory)
Gregg
Gatekeeper is their new security system, to keep out malware (and maybe anything else they don't want).

Last message posted 125 weeks ago.