Hi, I’m trying to open CMD from a unity script, execute a line in CMD
sudo cat /dev/usb/hiddev0 | hexdump -C
and have unity read from this.
void Start()
{
Process process = Process.Start("/usr/bin/gnome-terminal");
process.WaitForExit();
process.Close();
}
the following code does actually open up terminal, but I still haven’t figured out how to execute the command or read from it.