Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Run shell commands on Hana Server with XSJS

$
0
0

Hi everyone,

 

Since XSJS is server-side JavaScript such as Node.js, I wanted to know if there is some solutions to execute shell command (like "ls -al" or "pwd") as the example below (with node.js), or like 'exec' command in PHP:

Execute A Unix Command With Node.js | DZone

 

Or maybe if there is any xsjslib which does the same that ShellJS for Node.js (once again):

arturadib/shelljs · GitHub

 

I spent some time searching for examples with xsjs but I could not find any.

I know this has strong security issues so I understand we cannot do it but I prefer to be 100% sure with the answer of someone who has more experience than me with XS.


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>