#!/bin/bash
BASEDIR=$(dirname $0)
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

function executecommand()
{
    cmdArgs=("$@")
    # Your existing code...
    # Call the PowerShell script
    $BASEDIR/../../lib/tools/powershell/pwsh -File "$DIR/helperscript.ps1" cmdArgs[0] "${cmdArgs[@]}" 2>&1 | grep -v "cat: /sys/fs/cgroup/memory/memory.limit_in_bytes"
}
