Skip to content

create vm blocking and non_blocking are working same. #12

@gjagtap

Description

@gjagtap

create vm,

  1. blocking : it will block till vm is created.
  2. non bloxking : it will create vm in parallel, and return.

In current implementation , after popen, we communicate, it will wait internally. there is no point for adding extra wait call.

I think non blocking is not yet implementation

for reference https://docs.python.org/3.4/library/subprocess.html
Popen.communicate(input=None, timeout=None)
Interact with process: Send data to stdin. Read data from stdout and stderr, until end-of-file is reached. Wait for process to terminate. The optional input argument should be data to be sent to the child process, or None, if no data should be sent to the child. The type of input must be bytes or, if universal_newlines was True, a string.

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