How erlang returns exit status to linux

125 Views Asked by At

When I tried to ssh to the IP in Linux through erlang. SSH was getting successful, but while trying to check the exit status of the ssh Its showing 255, which was treated as a failure case.

But when i tried to ssh to the IP without using erlang. Its returning 0 in the success case.

Can you please let me know how erlang sends the exit status to linux. I just want to know which files were responsible in sending the exit status to the linux.

Thanks in advance.

0

There are 0 best solutions below