I'm trying to use the CLI "summary" command to save a summary of the current session to a file, for spading purposes. However, I appear to keep getting an empty file!
Well, almost empty. It's a 4-byte file, not a zero byte file, it appears to have two lines with carriage returns, but thats close enough to empty.
Here is the code I use to call summary, near the end of an ASH script:
The encounters file seems to be OK. Its a little sparse, but it has the appropriate data. However, the summary file is useless!
Is there a chance that the summary command has been broken by a recent update, and nobody noticed because it isn't used, or does the problem lie on my end, and with my script?
If you're using the summary CLI command successfully with 10.9, please say so, that way I will know for sure the problem is on my end, and I'm probably doing something funky...
Well, almost empty. It's a 4-byte file, not a zero byte file, it appears to have two lines with carriage returns, but thats close enough to empty.
Here is the code I use to call summary, near the end of an ASH script:
Code:
cli_execute("summary " + my_name() + ".summary_" + today_to_string() + ".txt");
cli_execute("encounters " + my_name() + ".adventures_" + today_to_string() + ".txt");
The encounters file seems to be OK. Its a little sparse, but it has the appropriate data. However, the summary file is useless!
Is there a chance that the summary command has been broken by a recent update, and nobody noticed because it isn't used, or does the problem lie on my end, and with my script?
If you're using the summary CLI command successfully with 10.9, please say so, that way I will know for sure the problem is on my end, and I'm probably doing something funky...