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

增加对日志的处理

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