Scala scripts in Windows batch files

后端 未结 2 860
Happy的楠姐
Happy的楠姐 2021-02-04 14:00

In Programming in Scala, it gives a description on how to run Scala scripts from batch files (link).

For Windows

  ::#!
  @echo off
  call scala %0 %*
           


        
2条回答
  •  Happy的楠姐
    2021-02-04 14:25

    %0 indicates for the program name(the script file name maybe), %* indicates for the command line parameters list. %1 means the first parameter...

提交回复
热议问题