954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Shell file question, lines don't get sent to screen...

My apologiess if this is the wrong board but I wasnt sure where shell stuff should go but my server is a Linux one so...

-------

screen -S minecraft
screen -X
cd ./public_html/mcmyadmin/
mono McMyAdmin.exe -nostart


I'm using the above code to auto atart a game server on my VPS's reboot. Well, the screen starts but then nothing else happens, if I close the screen out I see that -X run but says there's nothing to attach to and then the rest of the stuff runs. It seems the other commands aren't being sent to the screen after the intial screen start command is sent. Can anyone help me figure out why ?

If was also suggested I not use a CD but instead use a full path for the file, not sure what the person meant who told me that. Unless the mean do away with the CD line and maybe do something like mono /fullpath/McMyAdmin.exe -nostart.

MoreBloodWine
Light Poster
46 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

Anyone ?

MoreBloodWine
Light Poster
46 posts since Sep 2010
Reputation Points: 10
Solved Threads: 0
 

Perhaps try starting screen in detached mode. Something like:

$ screen -d -m minecraft
L7Sqr
Practically a Master Poster
655 posts since Feb 2011
Reputation Points: 201
Solved Threads: 123
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: