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

runAsync(bash"") cannot write nothing on onStringOutput on mac osx app standalone #100

Open
pjcau opened this issue Feb 12, 2021 · 2 comments

Comments

@pjcau
Copy link

pjcau commented Feb 12, 2021

HI,

I did app mac osx in BigSur that send Process().run and write in textEditor the logs. It' a process async that poll some https, and I need logs all inside my apps. It works perfect whe run on xcode but standlone don't write nothing. So I looking for also the xcode forum, the point is for process async that Pipe() cannot buffering, and we can do force it.

I think that yo have the same issue also in this sdk.

That's it's real case, I use upload-symbols to send a 50 symbols, so 10 minute to finish it all.

let asyncCommand = runAsync(bash: /Carthage_FirebaseCrashlytics_scripts/upload-symbols  -gsp /AppHouse/resources/GoogleService-Info-PROD.plist -p ios //Downloads/appDsyms ").onCompletion { command in
           debugPrintOnTerminal(string: " command is \(String(describing: command))")
       }
       asyncCommand.stdout.onStringOutput {
           print($0)
           debugPrintOnTerminal(string: " output is \(String(describing: $0))")
       }

I cannot use the command.finish(), because lock the app.

Thanks all.

Jonny

@pjcau
Copy link
Author

pjcau commented Feb 18, 2021

Hi Guys,

is there any news?

BR

J

@xMarkusSpringerx
Copy link

I do have the same issue unfortunately.

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

2 participants