ii8 / havoc

minimal terminal emulator for wayland
Other
103 stars 17 forks source link

Open with executing scripts #52

Closed debeetle closed 1 month ago

debeetle commented 1 month ago

Thanks for this marvellous job!

I use terminal everywhere in my daily workflow. And the most thing that I do is opening a terminal with interactive scripts. However when it came to havoc, I found no option such as -e like other terminals to meet my needs. So is there any possibble workaround to achive this goal? Any advise will be appreciated!

ii8 commented 1 month ago

Hello, I'm not sure what exactly you want to do, but here are some example commands to try:

havoc -l havoc -h
havoc -l ls
havoc -l sh my-cool-script.sh
havoc sh -c 'echo hi; sleep 3'
havoc -l lua -e 'print("hi")'
debeetle commented 1 month ago

Thanks for replying! I found that havoc needs no option to execute a command, and your advise is helpful. I will close this issue