forked from Cutieguwu/raven
Removed Fence denugging statements
This commit is contained in:
@@ -79,12 +79,6 @@ impl JVM {
|
||||
) -> anyhow::Result<(Option<String>, Option<String>)> {
|
||||
let mut cmd = vec![JAVA_VM.to_string()];
|
||||
|
||||
println!("Fence 4");
|
||||
|
||||
// proper format
|
||||
// java -Xms128m -Xmx512m -cp PROJECT_ROOT/src/text \test.Test
|
||||
// current format
|
||||
// java Xms128.0 MiB Xmx512.0 MiB /home/viffx/Coding/Rust/raven/src/Test1/src/test/
|
||||
cmd.extend(
|
||||
self.flags
|
||||
.clone()
|
||||
@@ -92,7 +86,6 @@ impl JVM {
|
||||
.flat_map(|f| Into::<Vec<String>>::into(f)),
|
||||
);
|
||||
|
||||
println!("Fence 5");
|
||||
for part in &cmd {
|
||||
println!("{}", part);
|
||||
}
|
||||
@@ -102,11 +95,9 @@ impl JVM {
|
||||
// Jave needs a class path and a file name to run.
|
||||
cmd.push("Test".to_string());
|
||||
|
||||
println!("Fence 6");
|
||||
println!("{:?}", cmd.as_slice());
|
||||
|
||||
|
||||
println!("Fence 7");
|
||||
let result = crate::io::run_process(cmd.as_slice());
|
||||
|
||||
if self.monitor
|
||||
|
||||
Reference in New Issue
Block a user