提交 4c47efe3 authored 作者: 李勤's avatar 李勤

增加对日志的处理

上级 3261aaba
......@@ -149,7 +149,7 @@ namespace Tool
this.progressBar1.Invoke(
(MethodInvoker)delegate { this.progressBar1.Maximum = MaxSize; });
sftp.UploadFile(stream, "/java/javafilestoragepath/ServiceProxy.jar",UpdateProgresBar);//上传第二个jar包
cmd = ssh.CreateCommand(string.Format("bash --login -c 'nohup java -jar /java/javafilestoragepath/ServiceManagement.jar &'"));
cmd = ssh.CreateCommand(string.Format("bash --login -c 'nohup java -jar /java/javafilestoragepath/ServiceManagement.jar > /java/javafilestoragepath/log.out &'"));
cmd.Execute();
//MessageBox.Show(cmd.Result);
}
......
......@@ -23,7 +23,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>21</ApplicationRevision>
<ApplicationRevision>22</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论