shell("\"C:\\Program Files (x86)\\BYOND\\bin\\dm.exe\" > [src.Environment]")
Problem description:
I want to get the compile result from dm.exe I have tried so many ways but nothing happens except dm.exe running and it doesn't even recognize the environment, how can I send the result of the compile to a text file? Can someone help? Thanks in advance.
[src.Environment] is the .dme file which the user uploads at the beginning of the game.
I'm pretty sure you just use the file2text process on the file. I could be wrong, but that's my guess. (I can't test it, so you'll have to try it for yourself. Though, it might be possible you'll have to check after compiling the file, instead of finding the Environment and then using that. Honestly, I can't say, I'm not using shell() very often.)