I am trying to open gmemusage in a specific workspace using perl; however, gmem doesn't accept the -xrm parameter. Is ther another method that can use to accomplish this?
#!/usr/bin/perl
#use strict;
$ENV{DISPLAY} = "$1:0.0";
#system('xlogo -xrm "*workspaceList: Two"'); #<--- This works
system('gmemusage -xrm "*workspaceList: Two"'); #<--- This does not work
sub testSystemScript{
if( $? == -1)
{
die("Command failed: $!\n");
}
return 0;
}