Skip to content

Add Keyword for easy send and read interact with PIPE for Process Library #5607

@IlfirinPL

Description

@IlfirinPL

It would be use full to allow easy send and read for handling process

Methods like

Send Input To Process | ${handle} | String
This keyword allow to send string to process

Read Output From Process | | ${handle} | wait_for_line=${True} | ${minimum of line}=1
This keyword allow to read latest not read yet output, with option to wait for line of ouput. This last option will make code cleaner

Example Use
${handle} | Run Process | command | stdin=PIPE | stdout=PIPE
Send Input To Process | ${handle} | String
${line} | Read Output From Process | | ${handle} | wait_for_line=${True} | ${minimum of line}=1
Log | ${line} | Debug

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