Skip to content

Running subprocess.Popen on Unix #6

@AlexanderAivazidis

Description

@AlexanderAivazidis

Hi!

I had to change the argument for subprocess.Popen from a string to a list to make it work for me with a Unix operating system:

From:

msa_process = subprocess.Popen("clustalw2 -quicktree -quiet -infile=" + msafile)

to:

msa_process = subprocess.Popen(['clustalw2','-quicktree','-quiet', '-infile=' + msafile])

It should still work on Windows too.

Best wishes,

Alexander

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions