Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Popen should use a sequence of command line arguments, not a string. #508

@choksi81

Description

@choksi81

We are using subprocess.Popen() with a string based argument in many places. Suppose we want to run the command: ls -l, we commonly call this like:

subprocess.Popen('ls -l')

This actually causes us problems when the command or arguments may have spaces. To avoid any potential problems, we should instead use the 'sequence' form. This looks like the following:

subprocess.Popen('-l')

This seems to be the root cause of #505

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions