Stata command line arguments in batch mode

若如初见. 提交于 2019-12-03 15:47:09

The thread below may be helpful:

http://www.stata.com/statalist/archive/2012-09/msg00609.html

In Windows, if my program Test.do is:

args a b
display "`a'" 
display "`b'" 

I can run it in batch mode in Windows by simply typing:

"c:\Stata13\stata.exe" /e do "c:\Scripts\Test.do" Test Script

And it will display (within Stata):

Test

Script

So I wonder whether the nohup is what's preventing your program from working.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!