Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandboxed 'io' library missing some functions after [v1.0.0.12078] #3049

Closed
moloflix opened this issue Jan 3, 2025 · 2 comments
Closed

Sandboxed 'io' library missing some functions after [v1.0.0.12078] #3049

moloflix opened this issue Jan 3, 2025 · 2 comments
Assignees
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime

Comments

@moloflix
Copy link

moloflix commented Jan 3, 2025

What happened?

after v1.0.0.12078, i cant use io.popen anymore

i am using this code io.popen("start [StartServer].cmd") and os.exit() to restart my server automaticly now i can't use them anymore

Expected result

All missing 'io' functions work normally

Reproduction steps

Try to use the missing functions for ex. io.popen("","r")

Importancy

Crash

Area(s)

FiveM, Natives, ScRT: Lua

Specific version(s)

v1.0.0.12078

Additional information

No response

@moloflix moloflix added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 3, 2025
@github-actions github-actions bot added crash ScRT: Lua Issues/PRs related to the Lua scripting runtime labels Jan 3, 2025
@thelindat
Copy link
Contributor

Not a bug, just yet again something that shouldn't be done for security reasons. Yet another duplicate issue too.

@prikolium-cfx
Copy link
Collaborator

I recommend you to implement watching service on top of FXServer that will restart it. It's the best way to do that.

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug crash ScRT: Lua Issues/PRs related to the Lua scripting runtime
Projects
None yet
Development

No branches or pull requests

4 participants