Process p = new System.Diagnostics.Process(); //设置新进程的工作目录,如果不设置那么新进程的工作目录为开启这个进程的工作目录 p.StartInfo.WorkingDirectory = @"E:\会计助手代码\CNCTKJPT\CNCTKJPT\bin\Debug"; //设置进程启动文件 p.StartInfo.FileName = @"CNCTKJPT.exe"; //设置进程启动参数 p.StartInfo.A
异常(栈里必须有activity的flag标识): 05-02 08:43:36.173: E/AndroidRuntime(3328): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 解决办法: Inte
linux 下开启一个简单的web服务: 首先需要linux下安装nodejs 然后创建一个test.js: vi test.js var http =require("http"); function hello(req,res){ res.writeHead(,{"content-type":"text/plain"}); res.end("hello, word"); } http.createServer(hell