(no title)
k776 | 1 month ago
```
execve(path, args) {
if path.endsWith('.go') {
go run path args
} else {
super($path, *args)
}
}```
Then when you run `./script.go`, the function gets called and passes it so `go run`, while everything else goes through the existing execve function. That would be interesting, because then you could do this with absolutely anything.
`./script.rb`
`./script.py`
`./script.c`
etc
No comments yet.