简体   繁体   English

如何在 windows 的 Vscode 终端中运行多个命令?

[英]How to run multiple commands in Vscode Terminal in windows?

Like I have 2 files main.ts and main.js in a folder.就像我在一个文件夹中有 2 个文件 main.ts 和 main.js 一样。 In mac the command to run is tsc main.ts && node main.js.在 mac 中,要运行的命令是 tsc main.ts && node main.js。 How can we run the same command in Windows?我们如何在 Windows 中运行相同的命令? Thanks for your answer in advance.提前感谢您的回答。

Like I have 2 files main.ts and main.js in a folder.就像我在一个文件夹中有 2 个文件 main.ts 和 main.js 一样。 In mac the command to run is tsc main.ts && node main.js.在 mac 中,要运行的命令是 tsc main.ts && node main.js。 How can we run the same command in Windows?我们如何在 Windows 中运行相同的命令? Thanks for your answer in advance.提前感谢您的回答。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何创建自定义命令(在终端上运行)以在angular2中创建所需的组件(包含所需的内容)? - How to create custom commands(to run on terminal) to create desired component (which contain desired content) in angular2? 如何通过配置在单个 package.json 行中运行多个命令 - How to run multiple commands in a single package.json line with configuration 从批处理文件运行一组命令(运行VSCode,运行NG serve) - Running a set of commands from a batch file (run VSCode, run NG serve) 如何在 Vscode 中从 Github 运行 Angular 代码 - How to run Angular code from Github in Vscode 如何从代码运行 Angular CLI 命令 - How to run Angular CLI commands from code Docker 异步运行多个命令,如果一个失败则杀死两个 - Docker run multiple commands asynchronously and kill both if one fails package.json 以相同的配置依次运行多个命令 - package.json run multiple commands in sequence with same configuration 当我有 2 个 windows 和 2 个不同的项目打开时,为什么我不能在 VSCode 中运行 UNIT 测试? - Why can't I run UNIT Tests in VSCode when I have 2 windows and 2 different projects open? 在Windows上使用Ant脚本运行npm,ng命令,“系统找不到指定的文件”错误 - Run npm, ng commands using Ant script on Windows, “The system cannot find the file specified” error 如何在 Angular/nx 工作区的上下文中运行 nestjs-console 命令 - How to run nestjs-console commands in context of Angular / nx workspace
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM