Re: Problem running shell script in linux using 'call' cmd in c#
How was this solve at the end? I think I face similar problem and have no idea to turn it around.
how did you use this "winscp" and include it in your projeect??
can you please give me a hint about this..
i've used "ChilkatDotNet2.dll" but got problem if any other file is included in the script which i'm running from my c# code....
I says that "FILE IS NOT FOUND IN THAT PATH"....
will you give some help for winscp... :idea: :idea:
I got the following error:
<call>
<command value=""/home/4.0.2.1/DB Scripts/Oracle/SIS_Run_Script_On_DB.sh" 2>&1" />
<destination value="/home/4.0.2.1/DB Scripts/Oracle" />
<result success="false">
<message>Terminated by user.</message>
</result>
</call>
Command '"/home/Versions/4.0.2.0/DB Scripts/Infrastructure Utility/bin/SIS_CREATE_SH_FILES.sh"'
failed with return code 0 and error message
Process Completed
Process Completed.
My question is: I thought that when running a shell script it will run also all sub shell scripts in the file(Run_script.sh). Same as running it from Terminal console in winscp.
winscp.StandardInput.WriteLine("call /home/Scripts/Run_script.sh");