Example #1: Passing JSON as STDIN, unmolested, to the command line command and getting the result echo'd back.
The command is coded in Bun Javascript.
{
name: "John Doe",
age: 30,
city: "New York",
}
Example #2: Passing 2 parameters as arguments to the command line command and getting them both echo'd back.
The command is coded in Bun Javascript.
RESULT: hello world test arg with spaces and "doublequotes" and 'sinqle quotes'
Example #3: Passing JSON as STDIN, unmolested, to the command line command and getting the result echo'd back.
The command is coded in Zig and compiled to a Linux executable file.
{
"name": "John Doe",
"age": 30,
"city": "New York"
}Example #4: Calling Linux 'ls -alh' command.
total 1.3M
drwxrwxr-x 8 www-data www-data 4.0K Jun 10 2025 .
drwxr-xr-x 35 www-data www-data 4.0K Jan 25 04:05 ..
-rw-r--r-- 1 www-data www-data 453 May 29 2025 biome.json
-rw-r--r-- 1 www-data www-data 13K May 30 2025 bun.lock
drwxr-xr-x 2 www-data www-data 4.0K Jun 12 2025 config
drwxr-xr-x 23 www-data www-data 4.0K Jun 12 2025 controllers
-rw-r--r-- 1 www-data www-data 1.2M Jan 26 08:54 debug.log
-rw-r--r-- 1 www-data www-data 388 May 29 2025 .gitignore
drwxr-xr-x 2 www-data www-data 4.0K Jan 25 11:59 models
drwxr-xr-x 103 www-data www-data 4.0K May 30 2025 node_modules
drwxr-xr-x 7 www-data www-data 4.0K May 28 2025 other
-rw-r--r-- 1 www-data www-data 436 May 30 2025 package.json
-rw-r--r-- 1 www-data www-data 23K May 29 2025 package-lock.json
-rw-r--r-- 1 www-data www-data 215 May 29 2025 README.md
-rwxr--r-- 1 www-data www-data 100 May 29 2025 restart
-rw-r--r-- 1 www-data www-data 5.9K Jun 10 2025 server.js
-rw-r--r-- 1 www-data www-data 5.1K May 29 2025 server.js.OLD
drwxr-xr-x 23 www-data www-data 4.0K Jun 12 2025 views