Skip to content

nimble test gets stuck when using wl-copy command #1384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fox0430 opened this issue Apr 24, 2025 · 0 comments
Open

nimble test gets stuck when using wl-copy command #1384

fox0430 opened this issue Apr 24, 2025 · 0 comments

Comments

@fox0430
Copy link

fox0430 commented Apr 24, 2025

OS: Arch Linux
nim version: 2.2.4
nimble version: 0.18.2
wl-clipboard version: 2.2.1

import std/[unittest, os]

test "wl-copy":
  echo execShellCmd("printf '' | wl-copy") == 0

It gets stuck in the following state, and it worked fine in nimble 0.16.4.

$ nimble test
  Compiling /home/user/test/tests/test (from package test) using c backend
      Info: compiling nim package using /home/user/.nimble/bin/nim
    Working ⣷

It seems to be stuck after the command is executed because when I look at the clipboard contents it is reset.

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

No branches or pull requests

1 participant