Skip to content
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

Some commands responses are going to stderr #571

Open
dmdmdm-nz opened this issue Feb 27, 2025 · 0 comments
Open

Some commands responses are going to stderr #571

dmdmdm-nz opened this issue Feb 27, 2025 · 0 comments

Comments

@dmdmdm-nz
Copy link

Describe the bug
When running the command ios devicestate list, the output appears to go to standard error (stderr) instead of standard output (stdout).

I had a quick look and it seems this issue also affects the following commands:

  • ios rsd ls
  • ios crash ls
  • ios ip
  • ios instruments notifications

To Reproduce
Steps to reproduce the behavior:

  1. Run the command and note the output
    ios devicestate list
  2. Redirect stderr and note that there is no output
     ios devicestate list 2> /dev/null

Expected behavior
The command response should be written to stdout.

Smartphone (please complete the following information):

  • Device: iPhone 16
  • OS: 18.2
  • Browser: N/A
  • Version: main

Additional context
It looks like this is occurring due to using println() instead of fmt.Println() in the commands above.

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