System command from shinyproxy

I am using shinyproxy 3.1.1. with a ldap-server for authentication.

I want my users to be able to change their own passwords directly from the app. One way to accomplish this is to invoke the ldappasswd command from Linux. Thus, using system(command=’ldappasswd etc’) will do the job. One just have to remember include ldap-utils as a library when building the image.

However, I am not able to capture the output from the system when using the system-command. I was expecting that if I use:

res ← system(command=’ldappasswd etc’, intern=T)

then the variable res should capture the output and e.g. tell me if the password change was successful or not. But res is not assigned any value.

Anybody who knows if it is somehow possible to capture system output from inside the shinyproxy app?