Hello everyone,
so I am trying to make a custom linux shell in golang, among other things,
I want this shell to be able to run BASH shell.
Like when we are prompted with sh shell
$
executing /bin/bash, provides bash prompt
$ /bin/bash
user@hostName:~#
similarly, I want my golang shell to provide
I will attach, the Code file and the sTrace logs.
It basically tries to run a shell command via golang.
When I try to run it in ESXI-670, it errors with:
program is running
fork/exec /bin/sh: no space left on device
Here is what I have tried:
1. I have tried doing this with cmd.Output().