Jump to content
  • 0

Shell Command - exec athena-start from sh file outside of emulator directory


Question

Posted (edited)

Hello all ^^'

 

Well, I am creating a SH file that will run the athena-start and the this SH file will be located in the parent directory of emulator!

 

Emulator:
/home/emulator/athena-start

SH File:
/home/file.sh

And the script line responsible for executing the server-athena:

#!/bin/sh

PATH=./:$PATH

EMULATOR="/home/emulator/"

exec ${EMULATOR}athena-start stop

However, when the code run athena-start it returns that files(login/char/map-server) do not exist.

 

How can i fix it?

 

I appreciate any help intention!

 

Att,

CaioVictor.

Edited by CaioVictor

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...