go-basher icon indicating copy to clipboard operation
go-basher copied to clipboard

A feature to have bash.Import() ? To read the runtime variables set by bash?

Open shrinidhi111 opened this issue 2 years ago • 0 comments

bash.Export() sets an environment variable from golang so that the bash script can read it.

But how to achieve the other way round?

Basically, I want to set some "statuses" regarding the execution of the bash script.. I thought one way would be setting variables and passing them downstream in go.

shrinidhi111 avatar Mar 06 '22 09:03 shrinidhi111