Is there a reason that every script I have written for GRASS in python runs twice? I start them using the GUI script launcher tool, and they all begin with:
#!/usr/bin/python import grass.script as grass
So nothing fancy. Still, every script always runs through twice, first one run through and then another, with the first run through locking the GUI until it finishes, and the second unlocking the GUI & displaying status update bars, etc. I've confirmed that they're running twice both by using log files & with ps -e. This happens both in GRASS 7.0 and in GRASS 6.4.2 (Ubuntu 12.04). Am I missing something obvious? If not I'll go ahead & submit a bug ticket.