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

'com.profesorfalken.jpowershell.PowerShellResponseHandler' is not public #77

Open
AlexRITIAN opened this issue Apr 26, 2021 · 1 comment

Comments

@AlexRITIAN
Copy link

This is my code :

PowerShell.openSession().executeCommandAndChain("Get-SmbOpenFile",(rep -> System.out.println(rep.getCommandOutput()))).close();

and I'm getting below error:
'com.profesorfalken.jpowershell.PowerShellResponseHandler' is not public in 'com.profesorfalken.jpowershell'. Cannot be accessed from outside package

is this a bug ? or I use it on the wrong way?

@Cydhra
Copy link

Cydhra commented Jul 19, 2021

This is a duplicate of #52 (which also offers a solution)

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