-
Notifications
You must be signed in to change notification settings - Fork 126
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
Return Output/Error as String? #18
Comments
I don't if i can get the output, but I think may be you can modify the std::<<cout part to get the stream |
Thanks for the response! One other question, is it possible to pass a file into 7z directly, instead of typing a command? Like could I pass in a file descriptor, like in this StackOverflow post? With newer versions of Android it's not possible to just send a path to the library, since we have to use the StorageAccessFramework to access files. If I try to access a file with this lib on Android Q, it returns an error about not having permissions. |
Is there a way to get the output or error message as a String I can use in the application?
For example if I want to get the list of files inside the archive, using the below command, is there a way to get the list that is output?
7z l archive.zip
Right now the command just returns the error code Int, with no command output.
The text was updated successfully, but these errors were encountered: