Skip to content

fix: background PocketIC output to files#209

Merged
lwshang merged 4 commits intomainfrom
lwshang/SDK-2420_backgroung_network_fix
Nov 21, 2025
Merged

fix: background PocketIC output to files#209
lwshang merged 4 commits intomainfrom
lwshang/SDK-2420_backgroung_network_fix

Conversation

@lwshang
Copy link
Contributor

@lwshang lwshang commented Nov 21, 2025

The pocket-ic instance spawned by icp network run --background lacks valid stdio handles, which causes the instance to crash when commands like icp deploy trigger output to stderr.

When running without --background, pocket-ic outputs are still piped to the terminal.

@lwshang lwshang marked this pull request as ready for review November 21, 2025 17:43
@lwshang lwshang requested a review from a team as a code owner November 21, 2025 17:43
@lwshang lwshang changed the title fix: ensure background PocketIC can write to stdio fix: background PocketIC output to files Nov 21, 2025
@lwshang lwshang merged commit 9e784e0 into main Nov 21, 2025
43 checks passed
@lwshang lwshang deleted the lwshang/SDK-2420_backgroung_network_fix branch November 21, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants