Skip to content

Handle split launched processes logged output #254

@hidmic

Description

@hidmic

Bug report

Required Info:

  • Operating System:
    • Windows Server 2019 Datacenter (akin to Windows 10)
  • Installation type:
    • From binaries.
  • Version or commit hash:

Steps to reproduce issue

Run any launch file, e.g. the in lifecycle demos:

ros2 launch lifecycle lifecycle_demo.launch.py

Expected behavior

Processes output is logged appropriately, line by line.

Actual behavior

Processes output is logged with additional splits, not only at newlines, e.g.:

[lifecycle_talker.EXE-1] [
[lifecycle_talker.EXE-1] INFO] [lc_talker]: Lifecycle publisher is currently inactive. Messages are not published.
[lifecycle_talker.EXE-1] [
[lifecycle_talker.EXE-1] WARN] [LifecyclePublisher]: Trying to publish message on the topic '/lifecycle_chatter', but the publisher is not activated

Additional information

Most likely, this is just launch.actions.ExecuteProcess implementation assuming that each launch.events.ProcessIO event comes with an integer count of lines, see here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions