Skip to content
Advertisement

Tag: tty

Exit java program to linux command

I’m making a little tool that handles a sort of exotic device, with lots of options to manage it etc. One of them would be to scan for tty ports, find the right one then throw the user to “minicom” with some parameters for example. How can I make java completely exit while running a specific command, under certain condition,

Advertisement