execute commands after run command
I am executing a run command in a script after that i need to copy files into a directory which are the inputs for the run,on run a new shell is created and the remaining commands in the script does not execute,wot should i do to execute the remaining commands in the script??
|
Quote:
|
Double thread:
http://www.linuxquestions.org/questi...8/#post4222734 ----- Maybe you must 'debug' it step by step. If that is plain shell script, you can test it by doing one command by one. |
Quote:
cp file /home/sam/ |
Quote:
Quote:
Code:
mono --debug /home/sam/axx.exe install Code:
cp file /home/sam/ |
The OP is saying that `mono` executes in a spawned shell and doesn't return to the calling shell and so he is not able to execute next command which is "cp file /home/sam/" isn't executing.
. mono ... ? |
Quote:
You should try : Code:
$ mono --debug /home/sam/axx.exe install & Code:
$ mono --debug /home/sam/axx.exe install & |
Quote:
Yeah you are right.. |
Quote:
|
Quote:
mono is a command for command line execution of Mono Develop IDE ,by mono --debug is equivalent command for "Run" in the IDE |
Quote:
---------- Post added 01-17-11 at 02:05 AM ---------- Quote:
|
Quote:
Code:
$ gnome-terminal -e 'mono --debug /home/sam/axx.exe install' Code:
$ gnome-terminal -e 'mono --debug /home/sam/axx.exe install' & |
Quote:
|
Quote:
It is working fine on my desktop but when i tried it on another machine it is throwing an error "Failed to parse arguments: |
Quote:
It is working fine on my desktop but when i tried it on another machine i.e 'gnome-terminal e'it is throwing an error _IceTransSocketUNIXConnect: Cannot connect to non-local host sam _IceTransSocketUNIXConnect: Cannot connect to non-local host sam ** (gnome-terminal:17803): WARNING **: Failed to connect to the session manager: Could not open network socket |
All times are GMT -5. The time now is 03:50 PM. |