cancel
Showing results for 
Search instead for 
Did you mean: 

Execute shell scripts from HANA XS

Former Member
0 Kudos

Hi Team,

Is it possible to execute shell scripts or any other scripts from HANA XS application?

I'm using HANA XSJS as a server-side javascript.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor

No with XS Classic XSJS services this is not possible directly. The system on which you wanna execute the scripts must provide services for the shell script execution which you can call via outbound http connectivity within an XSJS service.

Regards,
Florian

Former Member
0 Kudos

Thanks for the answer Florian.

Is it possible to do with XSJS Advanced?

Regards,

Arman

pfefferf
Active Contributor
0 Kudos

As XS Advanced supports different build packs like NodeJS or Java or ..., which are able to execute shell scripts this should be possible in case no further restriction is done and the user has the appropriate rights. But as I didn't do it by myself I can only recommend to try it out. Another aspect is, where the shell script needs to be executed. On the same instance/machine the XS advanced program is running or on a different one.

Answers (0)