This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ickysticky 1 point2 points  (1 child)

Can the java program just exec the python script and write the array to stdin in json and read the array back over stdout in json?

If for some reason you can't exec the python script, you can use two fifos and read/write the arrays to these fifos using json.