import fixes, removed unnecessary code RIVM-11

This commit is contained in:
vadym 2022-12-07 20:14:39 +02:00
parent 455bc604c5
commit fc8f7a4f39
2 changed files with 4 additions and 32 deletions

View file

@ -4,29 +4,10 @@
package main
import (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net"
"net/url"
"os"
"os/exec"
"path/filepath"
"runtime"
"strconv"
"strings"
"syscall"
"time"
"github.com/hjson/hjson-go"
"github.com/webview/webview"
"github.com/RiV-chain/RiV-mesh/src/admin"
)
var riv_ctrl_path string
func run_command(command string) []byte {
args := []string{"-json", command}
cmd := exec.Command(riv_ctrl_path, args...)