I'm using CGI for the main data handling, I was unable to find a way with CGI to extract the commandline like I needed. I have printed out the CGI information and it seems to be more for creating forms rather then processings them, at leat the way I need them to be processed.