Adime / redtamarin

Automatically exported from code.google.com/p/redtamarin
Other
0 stars 0 forks source link

implement exe control with native class shell.SubProcess #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
a mix between popen
and how JSDB use Stream

Original issue reported on code.google.com by zwetan on 26 Apr 2009 at 8:29

GoogleCodeExporter commented 9 years ago
in short we want to add avmplus.Process in a cross-platform way

we can take high inspiration from the Chrome browser code, in /base they have 
implemented cross-platform processes in a nice way

Original comment by zwetan on 9 Aug 2010 at 11:23

GoogleCodeExporter commented 9 years ago
System.popen() exists in release 0.3

a Process class shoudl be the next step

Original comment by zwetan on 23 Jan 2011 at 12:57

GoogleCodeExporter commented 9 years ago
we will have a Process class

Original comment by zwetan on 20 Nov 2013 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 7 Dec 2013 at 6:07

GoogleCodeExporter commented 9 years ago

Original comment by zwetan on 7 Dec 2013 at 6:21

GoogleCodeExporter commented 9 years ago
this SubProcess is even more important when you think it's what we need to wrap 
external external command line tools control

eg. you can include ffmpeg headers in the runtime
it will make it harder and more comoplex to complie
the runtime will grow etc.

it's possible but not wanted

but if  you could just wrap the stdin/stdout/stderr around ffmpeg
and call it from AS3 code, then things get simpler and powerful

also, for redbean, as we plan to use it as compiler tool
and so reuse asc.jar but also maybe MXMLC COMPC etc.
we end up with the same use case

we need a very good subprocess control class

Original comment by zwetan on 15 Dec 2013 at 3:27