Skip to content

Attempt to run with multiprocessing #562

@inapeace0

Description

@inapeace0

I’ve developed a python script to run processing-java command with multiprocessing pool.

— Python Script—

from multiprocessing import Pool
def func(meta):

os.system(“./processing/processing-java --sketch="” + cwd + “/oscilloscope/" --run " + str(meta) + "
mint”)

pool = Pool()
pool.map(func, range(len(metadata)))

At first, I see the generating starts well at first and some complete video files come out, but all processes are slept, and the video files never come out anymore at some point.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions