我想在install.sh中执行一些脚本,如下所示:./script2.sh...它执行一堆脚本,所以我想要区分stdout和stderr的颜色(绿色表示stdout,红色表示stderr),以及输出的来源。# in red color (stderr){script_name}: {green_if_stdout, red_if_stderr}
我不想编辑所有脚本<
每次从实际的应用程序项目文件夹运行../my_dir/my_script.js时,我都想运行node index.js。结构: -my_script.js +node_modules -index.js +node_modules -index.jsconsole.log('my_script.js from pare