* result is applied to object properties (eg. 'output' or 'stderr')
* @returns {Object} self.
*/
- public run()
+ public void run()
{
}
// async - if running - return..
if (this.cfg.async && this.pid > -1) {
- return this;
+ return;
}
// start mainloop if not async..
// finally throw, or return self..
- return this;
+ return;
- },
+ }
* @arg str {String} string to write to stdin of process
* @returns GLib.IOStatus (0 == error, 1= NORMAL)
*/
- write : function(str) // write a line to
+ public void write(str) // write a line to
{
- if (!this.in_ch) {
+ if (this.in_ch is null) {
return 0; // input is closed
}
//print("write: " + str);