mario-campos / emulate

GitHub Actions for BSD.
BSD 2-Clause "Simplified" License
36 stars 3 forks source link

Hijacking bash #1

Closed mario-campos closed 2 years ago

mario-campos commented 2 years ago
mario-campos commented 2 years ago

We have a winner! Basically, hijack bash with $BASH_ENV and get the command line with ps -p $$ -o args=, which should be cross-platform.