Open GoogleCodeExporter opened 9 years ago
because Program.open() call the CLI as sh -c ""
it is better to do like that
var str:String = Program.open( "LC_CTYPE=C tr -dc 'A-F0-9' < /dev/urandom |
head -c 2" );
shorter command line, less dependencies and no risk to block the CLI and end up
in an infinite loop while running the function, also avoid a carriage return at
end of line
Original comment by zwetan
on 8 Mar 2015 at 7:59
Original issue reported on code.google.com by
zwetan
on 8 Mar 2015 at 7:14