1.Runtime.getRuntime().exec(command) // runs inlinux => Runs OK
command = "type data.json"; // works in windows cmd
Runtime.getRuntime().exec(command) /
这是我的代码:#include <linux/reboot.h>#include <errno.h>
int ret = reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_POWER_OFF, NULL这将是EINVAL,根据重新引导手册页,它
diqn@didu:/media/diqn/nothing/rtl8188EUS_linux_v4.3.0.8_13968.20150417$ sudo make/bin/sh: 1: gcc: not found
scripts/Makefile.build:330: recipe for target'/media/diqn&